Blackfin arch: Fixing Bug: balance calls to get_task_mm with corresponding mmput...
authorBernd Schmidt <bernd.schmidt@analog.com>
Sun, 21 Oct 2007 14:32:27 +0000 (22:32 +0800)
committerBryan Wu <bryan.wu@analog.com>
Sun, 21 Oct 2007 14:32:27 +0000 (22:32 +0800)
commitc1e7399da76646f34c3857147cca649cd58745af
tree5e40d681f6d1186102f250b9c0659fbeff29d5fe
parenteaa854902aaeeade4a28cc8987de2b2ce182003b
Blackfin arch: Fixing Bug: balance calls to get_task_mm with corresponding mmput calls

We must balance calls to get_task_mm with corresponding mmput calls, otherwise
refcounting is screwed up and mms don't get freed when their task exits.

Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/kernel/traps.c