Re: 2.6.7-rc2-mm1

Ari Pollak
2004-06-01T16:25:57Z

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",
>
>