Keith Owens wrote:
Upgrade to kdb v2.4-2.4.19-{common,i386}-2
The kernel no longer compiles with KDB not configured.
kernel/kernel.o: In function `do_softirq':
kernel/kernel.o(.text+0x8082): undefined reference to `KDB_IS_RUNNING'
You need the following patch:
===================================================================
RCS file: /cvs/linux-2.4-xfs/linux/kernel/softirq.c,v
retrieving revision 1.17
diff -u -4 -w -r1.17 softirq.c
--- softirq.c 2002/11/01 05:59:19 1.17
+++ softirq.c 2002/11/01 20:25:14
@@ -67,10 +67,15 @@
__u32 pending;
unsigned long flags;
__u32 mask;
+#ifdef CONFIG_KDB
if (in_interrupt() || KDB_IS_RUNNING())
return;
+#else
+ if (in_interrupt())
+ return;
+#endif
local_irq_save(flags);
pending = softirq_pending(cpu);
--
Michael Sinz -- Director, Systems Engineering -- Worldgate Communications
A master's secrets are only as good as
the master's ability to explain them to others.
|