xfs
[Top] [All Lists]

Re: TAKE - Sync kdb v2.0-2.4.17 i386 code with xfs

Subject: Re: TAKE - Sync kdb v2.0-2.4.17 i386 code with xfs
From: Eyal Lebedinsky <eyal@xxxxxxxxxxxxxx>
Date: Fri, 04 Jan 2002 21:18:17 +1100
Cc: linux-xfs list <linux-xfs@xxxxxxxxxxx>
Organization: Eyal at Home
References: <200201040426.g044Qv923358@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Keith Owens wrote:
> 
> Date:  Thu Jan  3 20:24:15 PST 2002
> Workarea:  sherman.melbourne.sgi.com:/build/kaos/2.4.x-xfs
> 
> The following file(s) were checked into:
>   bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
> 
> Modid:  2.4.x-xfs:slinx:109106a
> linux/arch/i386/kernel/traps.c - 1.41

It does not compile without KDB.

This patch protects an unconditional reference to KDB.

--
Eyal Lebedinsky (eyal@xxxxxxxxxxxxxx) <http://samba.org/eyal/>
--- linux/arch/i386/kernel/traps.c.orig Fri Jan  4 21:13:50 2002
+++ linux/arch/i386/kernel/traps.c      Fri Jan  4 21:14:20 2002
@@ -581,7 +581,9 @@
                return;
        }
 #endif
+#ifdef CONFIG_KDB
        (void)kdb(KDB_REASON_NMI, reason, regs);
+#endif
        printk("Uhhuh. NMI received for unknown reason %02x.\n", reason);
        printk("Dazed and confused, but trying to continue\n");
        printk("Do you have a strange power saving mode enabled?\n");
<Prev in Thread] Current Thread [Next in Thread>