]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] do_bad_area() always takes current and current->active_mm
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 27 Sep 2006 15:13:48 +0000 (16:13 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 27 Sep 2006 15:13:48 +0000 (16:13 +0100)
commite5beac371af0af47bcbd6819f4c2a0a2721a1735
tree6dbaf0a1ba258977da34e3efa00b035a69ef67ec
parent80878d6c4ab8611a0edf139a7f8a7a64860b87c9
[ARM] do_bad_area() always takes current and current->active_mm

Since do_bad_area() always takes the currently active task and
(supposed to) take the currently active MM, there's no point passing
them to this function.  Instead, obtain references to them inside
do_bad_area().

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/alignment.c
arch/arm/mm/fault.c
arch/arm/mm/fault.h