[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>
This commit is contained in:
committed by
Russell King
parent
80878d6c4a
commit
e5beac371a
@@ -1,6 +1,3 @@
|
||||
void do_bad_area(struct task_struct *tsk, struct mm_struct *mm,
|
||||
unsigned long addr, unsigned int fsr, struct pt_regs *regs);
|
||||
|
||||
void show_pte(struct mm_struct *mm, unsigned long addr);
|
||||
void do_bad_area(unsigned long addr, unsigned int fsr, struct pt_regs *regs);
|
||||
|
||||
unsigned long search_exception_table(unsigned long addr);
|
||||
|
Reference in New Issue
Block a user