Re: [PATCH] x86_32: move do_nmi() to nmi_32.c

From: Ingo Molnar
Date: Sun May 04 2008 - 05:41:23 EST



* Hiroshi Shimamoto <h-shimamoto@xxxxxxxxxxxxx> wrote:

> From: Hiroshi Shimamoto <h-shimamoto@xxxxxxxxxxxxx>
>
> 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

Ingo
--
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/