diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-14 13:49:40 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-14 13:49:40 -0400 |
commit | 112e58471de3431fbd03dee514777ad4a66a77b2 (patch) | |
tree | d1cb3238e18467479d876ebcc99e06c1885e2538 /arch/sh/mm/fault_32.c | |
parent | e7b8b7f16edc9b363573eadf2ab2683473626071 (diff) |
sh: TLB protection violation exception optimizations.
This adds a bit of rework to have the TLB protection violations skip the
TLB miss fastpath and go directly in to do_page_fault(), as these require
slow path handling.
Based on an earlier patch by SUGIOKA Toshinobu.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/fault_32.c')
-rw-r--r-- | arch/sh/mm/fault_32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/mm/fault_32.c b/arch/sh/mm/fault_32.c index dbbdeba2cee5..41840647f65f 100644 --- a/arch/sh/mm/fault_32.c +++ b/arch/sh/mm/fault_32.c | |||
@@ -318,9 +318,9 @@ do_sigbus: | |||
318 | /* | 318 | /* |
319 | * Called with interrupts disabled. | 319 | * Called with interrupts disabled. |
320 | */ | 320 | */ |
321 | asmlinkage int __kprobes __do_page_fault(struct pt_regs *regs, | 321 | asmlinkage int __kprobes |
322 | unsigned long writeaccess, | 322 | handle_tlbmiss(struct pt_regs *regs, unsigned long writeaccess, |
323 | unsigned long address) | 323 | unsigned long address) |
324 | { | 324 | { |
325 | pgd_t *pgd; | 325 | pgd_t *pgd; |
326 | pud_t *pud; | 326 | pud_t *pud; |