]> err.no Git - linux-2.6/blobdiff - arch/x86_64/kernel/irq.c
[PATCH] zd1211rw: disable TX queue during stop
[linux-2.6] / arch / x86_64 / kernel / irq.c
index a1f1df5f7bfc2d5a40d6269e5a37f69d6dc746af..5221a53e90c1e0b7d68d126c6a31fef19abff6db 100644 (file)
@@ -177,8 +177,10 @@ asmlinkage void do_softirq(void)
        local_irq_save(flags);
        pending = local_softirq_pending();
        /* Switch to interrupt stack */
-       if (pending)
+       if (pending) {
                call_softirq();
+               WARN_ON_ONCE(softirq_count());
+       }
        local_irq_restore(flags);
 }
 EXPORT_SYMBOL(do_softirq);