diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-09-27 17:13:48 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-09-27 17:13:48 +0200 |
commit | e5beac371af0af47bcbd6819f4c2a0a2721a1735 (patch) | |
tree | 6dbaf0a1ba258977da34e3efa00b035a69ef67ec /arch/arm/mm/alignment.c | |
parent | [ARM] Add setup_mm_for_reboot() for nommu (diff) | |
download | linux-e5beac371af0af47bcbd6819f4c2a0a2721a1735.tar.xz linux-e5beac371af0af47bcbd6819f4c2a0a2721a1735.zip |
[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>
Diffstat (limited to 'arch/arm/mm/alignment.c')
-rw-r--r-- | arch/arm/mm/alignment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/alignment.c b/arch/arm/mm/alignment.c index e0d21bbbe7d7..aa109f074dd9 100644 --- a/arch/arm/mm/alignment.c +++ b/arch/arm/mm/alignment.c @@ -735,7 +735,7 @@ do_alignment(unsigned long addr, unsigned int fsr, struct pt_regs *regs) /* * We got a fault - fix it up, or die. */ - do_bad_area(current, current->mm, addr, fsr, regs); + do_bad_area(addr, fsr, regs); return 0; swp: |