diff options
Diffstat (limited to 'arch/parisc/kernel/traps.c')
-rw-r--r-- | arch/parisc/kernel/traps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/kernel/traps.c b/arch/parisc/kernel/traps.c index 47ee620d15d2..6548fd1d2e62 100644 --- a/arch/parisc/kernel/traps.c +++ b/arch/parisc/kernel/traps.c | |||
@@ -26,9 +26,9 @@ | |||
26 | #include <linux/console.h> | 26 | #include <linux/console.h> |
27 | #include <linux/bug.h> | 27 | #include <linux/bug.h> |
28 | #include <linux/ratelimit.h> | 28 | #include <linux/ratelimit.h> |
29 | #include <linux/uaccess.h> | ||
29 | 30 | ||
30 | #include <asm/assembly.h> | 31 | #include <asm/assembly.h> |
31 | #include <asm/uaccess.h> | ||
32 | #include <asm/io.h> | 32 | #include <asm/io.h> |
33 | #include <asm/irq.h> | 33 | #include <asm/irq.h> |
34 | #include <asm/traps.h> | 34 | #include <asm/traps.h> |
@@ -800,7 +800,7 @@ void notrace handle_interruption(int code, struct pt_regs *regs) | |||
800 | * unless pagefault_disable() was called before. | 800 | * unless pagefault_disable() was called before. |
801 | */ | 801 | */ |
802 | 802 | ||
803 | if (fault_space == 0 && !in_atomic()) | 803 | if (fault_space == 0 && !faulthandler_disabled()) |
804 | { | 804 | { |
805 | pdc_chassis_send_status(PDC_CHASSIS_DIRECT_PANIC); | 805 | pdc_chassis_send_status(PDC_CHASSIS_DIRECT_PANIC); |
806 | parisc_terminate("Kernel Fault", regs, code, fault_address); | 806 | parisc_terminate("Kernel Fault", regs, code, fault_address); |