be2net: SRIOV Queue distribution should factor in EQ-count of VFs
[cascardo/linux.git] / kernel / panic.c
index b333380..d96469d 100644 (file)
@@ -180,8 +180,7 @@ void panic(const char *fmt, ...)
         * panic() is not being callled from OOPS.
         */
        debug_locks_off();
-       console_trylock();
-       console_unlock();
+       console_flush_on_panic();
 
        if (!panic_blink)
                panic_blink = no_blink;