X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=kernel%2Fpanic.c;h=cefd7d82366fbcd8455abed92f1409fa5c08a974;hb=b5b65f1398274fd726eca87dbebd39f3e603348a;hp=edad89660a2b455bac00aa8e7dd89d999e48eb60;hpb=051df241e44693dba8f4e1e74184237f55dd811d;p=linux-2.6-microblaze.git diff --git a/kernel/panic.c b/kernel/panic.c index edad89660a2b..cefd7d82366f 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -248,7 +248,6 @@ void panic(const char *fmt, ...) * Bypass the panic_cpu check and call __crash_kexec directly. */ if (!_crash_kexec_post_notifiers) { - printk_safe_flush_on_panic(); __crash_kexec(NULL); /* @@ -272,8 +271,6 @@ void panic(const char *fmt, ...) */ atomic_notifier_call_chain(&panic_notifier_list, 0, buf); - /* Call flush even twice. It tries harder with a single online CPU */ - printk_safe_flush_on_panic(); kmsg_dump(KMSG_DUMP_PANIC); /*