diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-09-18 12:55:40 +0200 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-11-06 06:11:39 +0100 |
commit | 21a63b56044706aa37637315dd27d9d465bbd5c4 (patch) | |
tree | c92bbd890472c22c99b89dd0749a117c7ca0a51e /arch/arc/mm/fault.c | |
parent | ARC: cacheflush optim - PTAG can be loop invariant if V-P is const (diff) | |
download | linux-21a63b56044706aa37637315dd27d9d465bbd5c4.tar.xz linux-21a63b56044706aa37637315dd27d9d465bbd5c4.zip |
ARC: Change calling convention of do_page_fault()
switch the args (address, pt_regs) to match with all the other "C"
exception handlers.
This removes the awkwardness in EV_ProtV for page fault vs. unaligned
access.
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/mm/fault.c')
-rw-r--r-- | arch/arc/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/mm/fault.c b/arch/arc/mm/fault.c index 0c14d8a52683..9c69552350c4 100644 --- a/arch/arc/mm/fault.c +++ b/arch/arc/mm/fault.c @@ -52,7 +52,7 @@ bad_area: return 1; } -void do_page_fault(struct pt_regs *regs, unsigned long address) +void do_page_fault(unsigned long address, struct pt_regs *regs) { struct vm_area_struct *vma = NULL; struct task_struct *tsk = current; |