Re: 2.6.7-rc2-mm1

From: Ari Pollak
Date: Tue Jun 01 2004 - 11:29:33 EST


Almost. It looks like the #ifdefs should be changed to CONFIG_X86_LOCAL_APIC, since without it, nmi.c never gets built.

AKIYAMA Nobuyuki wrote:

config attached, plain 2.6.7-rc2-mm1, only with dsdt patch for my laptop.


Please try the patch below.

diff -Nur linux-2.6.7-rc2-mm1.org/kernel/sysctl.c linux-2.6.7-rc2-mm1/kernel/sysctl.c
--- linux-2.6.7-rc2-mm1.org/kernel/sysctl.c 2004-06-01 19:47:22.000000000 +0900
+++ linux-2.6.7-rc2-mm1/kernel/sysctl.c 2004-06-01 20:21:13.000000000 +0900
@@ -63,7 +63,7 @@
extern int printk_ratelimit_jiffies;
extern int printk_ratelimit_burst;
-#if defined(__i386__)
+#ifdef CONFIG_X86
extern int unknown_nmi_panic;
extern int proc_unknown_nmi_panic(ctl_table *, int, struct file *,
void __user *, size_t *);
@@ -624,7 +624,7 @@
.mode = 0444,
.proc_handler = &proc_dointvec,
},
-#if defined(__i386__)
+#ifdef CONFIG_X86
{
.ctl_name = KERN_UNKNOWN_NMI_PANIC,
.procname = "unknown_nmi_panic",



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/