Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265094AbUFAQLg (ORCPT ); Tue, 1 Jun 2004 12:11:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265101AbUFAQI0 (ORCPT ); Tue, 1 Jun 2004 12:08:26 -0400 Received: from main.gmane.org ([80.91.224.249]:22927 "EHLO main.gmane.org") by vger.kernel.org with ESMTP id S265097AbUFAQHR (ORCPT ); Tue, 1 Jun 2004 12:07:17 -0400 X-Injected-Via-Gmane: http://gmane.org/ To: linux-kernel@vger.kernel.org From: Ari Pollak Subject: Re: 2.6.7-rc2-mm1 Date: Tue, 01 Jun 2004 12:07:16 -0400 Message-ID: References: <20040601021539.413a7ad7.akpm@osdl.org> <200406011159.23532@zodiac.zodiac.dnsalias.org> <20040601202839.01c8a220.akiyama.nobuyuk@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: atlantis.ccs.neu.edu User-Agent: Mozilla Thunderbird 0.6 (X11/20040528) X-Accept-Language: en-us, en In-Reply-To: <20040601202839.01c8a220.akiyama.nobuyuk@jp.fujitsu.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1937 Lines: 56 neither this nor andy's patch seems to fix compilation on x86. AKIYAMA Nobuyuki wrote: > On Tue, 01 Jun 2004 11:59:23 +0200 > Alexander Gran wrote: > > >>Am Dienstag, 1. Juni 2004 11:15 schrieben Sie: >> >>>ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7-rc2/2.6 >>>.7-rc2-mm1/ >> >>>+nmi-trigger-switch-support-for-debugging.patch >>> >>> Support NMI-generating front-panel switches on x86 >> >>Perhaps that broke compiling here: >> >>... >> UPD include/linux/compile.h >> CC init/version.o >> LD init/built-in.o >> LD .tmp_vmlinux1 >>kernel/built-in.o(.data+0xc0c): undefined reference to `unknown_nmi_panic' >>kernel/built-in.o(.data+0xc1c): undefined reference to >>`proc_unknown_nmi_panic' >>make: *** [.tmp_vmlinux1] Error 1 >> >>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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/