X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=lib%2Fbust_spinlocks.c;h=accb3565816993630ab98bc7818f3afe75307fa5;hb=fb2c922b8588115d8914492493a37109bfb07884;hp=6bb7319e09a006588e697bda90a063703868b04c;hpb=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2;p=powerpc.git diff --git a/lib/bust_spinlocks.c b/lib/bust_spinlocks.c index 6bb7319e09..accb356581 100644 --- a/lib/bust_spinlocks.c +++ b/lib/bust_spinlocks.c @@ -7,7 +7,6 @@ * and panic() information from reaching the user. */ -#include #include #include #include @@ -15,24 +14,16 @@ #include -void bust_spinlocks(int yes) +void __attribute__((weak)) bust_spinlocks(int yes) { if (yes) { oops_in_progress = 1; } else { - int loglevel_save = console_loglevel; #ifdef CONFIG_VT unblank_screen(); #endif oops_in_progress = 0; - /* - * OK, the message is on the console. Now we call printk() - * without oops_in_progress set so that printk() will give klogd - * and the blanked console a poke. Hold onto your hats... - */ - console_loglevel = 15; /* NMI oopser may have shut the console up */ - printk(" "); - console_loglevel = loglevel_save; + wake_up_klogd(); } }