summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2003-04-16 22:51:56 -0700
committerBen Collins <bcollins@debian.org>2003-04-16 22:51:56 -0700
commitd9a8f6d72aa503402995b76dd1ebffa758999dd8 (patch)
treec778a256668bd66a11bf5f8dc73609e1eb7ea1e9 /kernel
parentb95baca05436d2f31984a5bf0a064b2b8e0cfc42 (diff)
[PATCH] Use WARN_ON in local_bh_enable()
This BUG_ON is triggering via ppp's line discipline flushing, due to brokenness in tty_io.c. We need to fix tty. Meanwhile, let's not gratuitously nuke people's boxes.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/softirq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c
index bce93b611822..60f914897e46 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -102,7 +102,7 @@ restart:
void local_bh_enable(void)
{
__local_bh_enable();
- BUG_ON(irqs_disabled());
+ WARN_ON(irqs_disabled());
if (unlikely(!in_interrupt() &&
local_softirq_pending()))
invoke_softirq();