diff options
-rw-r--r-- | arch/arm/mm/fault.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index 5dbf13f954f6..c97f7940cb95 100644 --- a/arch/arm/mm/fault.c +++ b/arch/arm/mm/fault.c | |||
@@ -491,12 +491,14 @@ do_translation_fault(unsigned long addr, unsigned int fsr, | |||
491 | * Some section permission faults need to be handled gracefully. | 491 | * Some section permission faults need to be handled gracefully. |
492 | * They can happen due to a __{get,put}_user during an oops. | 492 | * They can happen due to a __{get,put}_user during an oops. |
493 | */ | 493 | */ |
494 | #ifndef CONFIG_ARM_LPAE | ||
494 | static int | 495 | static int |
495 | do_sect_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) | 496 | do_sect_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) |
496 | { | 497 | { |
497 | do_bad_area(addr, fsr, regs); | 498 | do_bad_area(addr, fsr, regs); |
498 | return 0; | 499 | return 0; |
499 | } | 500 | } |
501 | #endif /* CONFIG_ARM_LPAE */ | ||
500 | 502 | ||
501 | /* | 503 | /* |
502 | * This abort handler always returns "fault". | 504 | * This abort handler always returns "fault". |