aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorAaro Koskinen <[email protected]>2009-10-02 14:41:20 +0300
committerIngo Molnar <[email protected]>2009-10-05 21:08:09 +0200
commitd014e8894dfc523dd9d2f2a17b6dcb94facea810 (patch)
treed4a3dec08acc9e9fb661576bd5f7b0ce11a1ecc9 /lib/cpu-notifier-error-inject.c
parent135c8aea557cf53abe6c8847e286d01442124193 (diff)
panic: Fix panic message visibility by calling bust_spinlocks(0) before dying
Commit ffd71da4e3f ("panic: decrease oops_in_progress only after having done the panic") moved bust_spinlocks(0) to the end of the function, which in practice is never reached. As a result console_unblank() is not called, and on some systems the user may not see the panic message. Move it back up to before the unblanking. Signed-off-by: Aaro Koskinen <[email protected]> Reviewed-by: Frederic Weisbecker <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions