]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Use WARN_ON in local_bh_enable()
authorAndrew Morton <akpm@digeo.com>
Thu, 17 Apr 2003 05:51:56 +0000 (22:51 -0700)
committerBen Collins <bcollins@debian.org>
Thu, 17 Apr 2003 05:51:56 +0000 (22:51 -0700)
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.

kernel/softirq.c

index bce93b61182272831ab8b4078b17d3a2c0df145a..60f914897e46e594d8cc75ee17cce654707bb4cc 100644 (file)
@@ -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();