aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/fault.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-09-27 11:13:48 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-09-27 11:13:48 -0400
commite5beac371af0af47bcbd6819f4c2a0a2721a1735 (patch)
tree6dbaf0a1ba258977da34e3efa00b035a69ef67ec /arch/arm/mm/fault.h
parent80878d6c4ab8611a0edf139a7f8a7a64860b87c9 (diff)
[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/fault.h')
-rw-r--r--arch/arm/mm/fault.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mm/fault.h b/arch/arm/mm/fault.h
index 73b59e83227f..49e9e3804de4 100644
--- a/arch/arm/mm/fault.h
+++ b/arch/arm/mm/fault.h
@@ -1,6 +1,3 @@
1void do_bad_area(struct task_struct *tsk, struct mm_struct *mm, 1void do_bad_area(unsigned long addr, unsigned int fsr, struct pt_regs *regs);
2 unsigned long addr, unsigned int fsr, struct pt_regs *regs);
3
4void show_pte(struct mm_struct *mm, unsigned long addr);
5 2
6unsigned long search_exception_table(unsigned long addr); 3unsigned long search_exception_table(unsigned long addr);