| * Provides a minimal bust_spinlocks for architectures which don't have one of their own. |
| * bust_spinlocks() clears any spinlocks which would prevent oops, die(), BUG() |
| * and panic() information from reaching the user. |
| #include <linux/kernel.h> |
| #include <linux/spinlock.h> |
| #include <linux/vt_kern.h> |
| void bust_spinlocks(int yes) |
| int loglevel_save = console_loglevel; |
| * 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 */ |
| console_loglevel = loglevel_save; |