xfs
[Top] [All Lists]

Re: TAKE - Upgrade to kdb v2.4-2.4.19-{common,i386}-2

To: Keith Owens <kaos@xxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: TAKE - Upgrade to kdb v2.4-2.4.19-{common,i386}-2
From: Michael Sinz <msinz@xxxxxxxxx>
Date: Fri, 01 Nov 2002 15:26:40 -0500
Cc: Linux XFS List <linux-xfs@xxxxxxxxxxx>
References: <200211010600.gA160WV23738@sherman.melbourne.sgi.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1b) Gecko/20020813
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.


<Prev in Thread] Current Thread [Next in Thread>