PATCH: [olh at kdb and softirqs]

linas at linas at
Tue Mar 23 10:13:42 EST 2004


Can you apply the following patch to ameslab?  It removes some
leftover crud from the earlier versions of KDB ...


----- Forwarded message from Olaf Hering <olh at> -----

Date: Mon, 22 Mar 2004 13:17:02 +0100
From: Olaf Hering <olh at>
To: Linas Vepstas <linas at>, Chris Mason <mason at>
Subject: kdb and softirqs

I assume softirqs should not run when kdb is active? Then we need this
patch in our cvs.

--- linuxppc64-2.5/kernel/softirq.c     2004-03-20 11:56:19.000000000 +0000
+++ /usr/src/linux-2.6.4-15/kernel/softirq.c    2004-03-22 10:13:04.000000000 +0000
@@ -16,9 +16,6 @@
 #include <linux/cpu.h>
 #include <linux/kthread.h>

-#ifdef CONFIG_KDB
-#include <linux/kdb.h>
    - No shared variables, all the data are CPU local.
    - If a softirq needs serialization, let it serialize itself
@@ -80,11 +77,6 @@ asmlinkage void do_softirq(void)

        if (in_interrupt())
-#ifdef CONFIG_KDB
-       if (KDB_IS_RUNNING())
-           return;
-#endif /*CONFIG_KDB */


USB is for mice, FireWire is for men!

sUse lINUX ag, nÃœRNBERG

----- End forwarded message -----

** Sent via the linuxppc64-dev mail list. See

More information about the Linuxppc64-dev mailing list