]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - kernel/panic.c
staging: rtl8712: remove unnecessary return variables
[linux.git] / kernel / panic.c
index 47e8ebccc22be40478e2581616456f5749b7c4a9..f470a038b05bd1111bc3e0dd2195d6b15e823d14 100644 (file)
@@ -180,6 +180,7 @@ void panic(const char *fmt, ...)
         * after setting panic_cpu) from invoking panic() again.
         */
        local_irq_disable();
+       preempt_disable_notrace();
 
        /*
         * It's possible to come here directly from a panic-assertion and