From: James S. <jsi...@us...> - 2002-04-16 19:37:18
|
Update of /cvsroot/linuxconsole/ruby/linux/lib In directory usw-pr-cvs1:/tmp/cvs-serv13887/linux/lib Modified Files: bust_spinlocks.c Removed Files: Makefile Log Message: Synced to 2.5.8. Index: bust_spinlocks.c =================================================================== RCS file: /cvsroot/linuxconsole/ruby/linux/lib/bust_spinlocks.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- bust_spinlocks.c 18 Oct 2001 17:52:52 -0000 1.8 +++ bust_spinlocks.c 16 Apr 2002 17:41:53 -0000 1.9 @@ -1,14 +1,13 @@ /* * lib/bust_spinlocks.c * - * Provides a minimal bust_spinlocks for architectures which don't have one - * of their own + * 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. + * bust_spinlocks() clears any spinlocks which would prevent oops, die(), BUG() + * and panic() information from reaching the user. */ + #include <linux/config.h> -#include <linux/module.h> #include <linux/kernel.h> #include <linux/spinlock.h> #include <linux/tty.h> @@ -21,23 +20,19 @@ spin_lock_init(&timerlist_lock); if (yes) { oops_in_progress = 1; -/* -ifdef CONFIG_SMP - atomic_set(&global_irq_lock,0); -#endif -*/ } else { int loglevel_save = console_loglevel; + 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... + * 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 = 15; /* NMI oopser may have shut the console up */ printk(" "); console_loglevel = loglevel_save; } } -EXPORT_SYMBOL(bust_spinlocks); + --- Makefile DELETED --- |