diff options
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/kernel/traps.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/parisc/kernel/traps.c b/arch/parisc/kernel/traps.c index ebc877c28583..1cd1d0c83b6d 100644 --- a/arch/parisc/kernel/traps.c +++ b/arch/parisc/kernel/traps.c | |||
@@ -800,14 +800,14 @@ void notrace handle_interruption(int code, struct pt_regs *regs) | |||
800 | else { | 800 | else { |
801 | 801 | ||
802 | /* | 802 | /* |
803 | * The kernel should never fault on its own address space. | 803 | * The kernel should never fault on its own address space, |
804 | * unless pagefault_disable() was called before. | ||
804 | */ | 805 | */ |
805 | 806 | ||
806 | if (fault_space == 0) | 807 | if (fault_space == 0 && !in_atomic()) |
807 | { | 808 | { |
808 | pdc_chassis_send_status(PDC_CHASSIS_DIRECT_PANIC); | 809 | pdc_chassis_send_status(PDC_CHASSIS_DIRECT_PANIC); |
809 | parisc_terminate("Kernel Fault", regs, code, fault_address); | 810 | parisc_terminate("Kernel Fault", regs, code, fault_address); |
810 | |||
811 | } | 811 | } |
812 | } | 812 | } |
813 | 813 | ||