Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

oops handling: ensure that any oops is flushed to the mtdoops console

This used to work unpatched with older kernels, during the development
phase of mtdoops.  Before commit e3e8a75
a space was printed with console_loglevel set to 15, which probably
flushed the oops message as a side effect.

This is another patch from the Nokia N810 kernel.

Signed-off-by: Viktor Rosendahl <>
Cc: Alan Cox <>
Cc: Ingo Molnar <>
Cc: David Woodhouse <>
Signed-off-by: Andrew Morton <>
Signed-off-by: Linus Torvalds <>
  • Loading branch information...
commit b61312d353da1871778711040464b10f5cd904df 1 parent f41ced8
Viktor Rosendahl authored torvalds committed
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/bust_spinlocks.c
2  lib/bust_spinlocks.c
@@ -12,6 +12,7 @@
#include <linux/tty.h>
#include <linux/wait.h>
#include <linux/vt_kern.h>
+#include <linux/console.h>
void __attribute__((weak)) bust_spinlocks(int yes)
@@ -22,6 +23,7 @@ void __attribute__((weak)) bust_spinlocks(int yes)
#ifdef CONFIG_VT
+ console_unblank();
if (--oops_in_progress == 0)
Please sign in to comment.
Something went wrong with that request. Please try again.