Re: v2.6.19-rt6, yum/rpm

From: K.R. Foley
Date: Thu Dec 07 2006 - 10:54:59 EST


Ingo Molnar wrote:

The attached patch is necessary to build 2.6.19-rt8 without KEXEC
enabled. Without KEXEC enabled crash.c doesn't get included. I believe
this is correct.

--
kr
--- linux-2.6.19/arch/i386/kernel/nmi.c.orig 2006-12-07 09:35:22.000000000 -0600
+++ linux-2.6.19/arch/i386/kernel/nmi.c 2006-12-07 09:36:04.000000000 -0600
@@ -935,7 +935,9 @@ void nmi_show_all_regs(void)
for_each_online_cpu(i)
nmi_show_regs[i] = 1;

+#ifdef CONFIG_KEXEC
smp_send_nmi_allbutself();
+#endif

for_each_online_cpu(i) {
while (nmi_show_regs[i] == 1)