From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757088AbYEDPXW (ORCPT ); Sun, 4 May 2008 11:23:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751736AbYEDPXF (ORCPT ); Sun, 4 May 2008 11:23:05 -0400 Received: from TYO201.gate.nec.co.jp ([202.32.8.193]:42394 "EHLO tyo201.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753185AbYEDPXE (ORCPT ); Sun, 4 May 2008 11:23:04 -0400 Message-Id: <481DD4C2.1080809@ct.jp.nec.com> Date: Sun, 04 May 2008 08:22:42 -0700 From: Hiroshi Shimamoto User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Ingo Molnar CC: Thomas Gleixner , "H. Peter Anvin" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86_32: move do_nmi() to nmi_32.c References: <481BA78F.50202@ct.jp.nec.com> <20080504094058.GA17566@elte.hu> <481DD247.70807@ct.jp.nec.com> In-Reply-To: <481DD247.70807@ct.jp.nec.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hiroshi Shimamoto wrote: > Ingo Molnar wrote: >> * Hiroshi Shimamoto wrote: >> >>> From: Hiroshi Shimamoto >>> >>> on x86_64 do_nmi() is in nmi_64.c. >> this patch caused build failure on x86.git+sched-devel.git: >> >> arch/x86/kernel/built-in.o: In function `nmi_stack_correct': >> arch/x86/kernel/entry_32.S:(.kprobes.text+0x117): undefined reference to `do_nmi' >> arch/x86/kernel/built-in.o: In function `nmi_espfix_stack': >> arch/x86/kernel/entry_32.S:(.kprobes.text+0x1c3): undefined reference to `do_nmi' >> arch/x86/kernel/built-in.o: In function `alternative_instructions': >> : undefined reference to `stop_nmi' >> arch/x86/kernel/built-in.o: In function `alternative_instructions': >> : undefined reference to `restart_nmi' >> >> with this config: >> >> http://redhat.com/~mingo/misc/config-Sun_May__4_11_25_21_CEST_2008.bad > > Oops, I've missed something. > > Will work. If you don't want it soon, please remove it from the queue. > Ah, CONFIG_X86_LOCAL_APIC is needed for nmi_32.o. I should have noticed before submitting this patch. thanks, Hiroshi Shimamoto