x86: Panic on detection of stack overflow
[deliverable/linux.git] / arch / x86 / kernel / irq_32.c
index 72090705a656a65c5167392b7c815577e6798356..e16e99ebd7ad3b158d90c6cd9951d0bb3feee659 100644 (file)
@@ -43,6 +43,8 @@ static void print_stack_overflow(void)
 {
        printk(KERN_WARNING "low stack detected by irq handler\n");
        dump_stack();
+       if (sysctl_panic_on_stackoverflow)
+               panic("low stack detected by irq handler - check messages\n");
 }
 
 #else
This page took 0.075534 seconds and 5 git commands to generate.