PATCH: [olh at suse.de: kdb and softirqs]
linas at austin.ibm.com
linas at austin.ibm.com
Tue Mar 23 10:13:42 EST 2004
Anton,
Can you apply the following patch to ameslab? It removes some
leftover crud from the earlier versions of KDB ...
--linas
----- Forwarded message from Olaf Hering <olh at suse.de> -----
Date: Mon, 22 Mar 2004 13:17:02 +0100
From: Olaf Hering <olh at suse.de>
To: Linas Vepstas <linas at austin.ibm.com>, Chris Mason <mason at suse.de>
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>
-#endif
/*
- 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())
return;
-#ifdef CONFIG_KDB
- if (KDB_IS_RUNNING())
- return;
-#endif /*CONFIG_KDB */
-
local_irq_save(flags);
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÃRNBERG
----- End forwarded message -----
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list