Re: [PATCH 1/4] nmi_watchdog: use a boolean config flag for compiling

From: Don Zickus
Date: Mon Feb 15 2010 - 12:52:49 EST


On Sun, Feb 14, 2010 at 05:59:41PM +0100, Ingo Molnar wrote:
>
> i'm still getting build failures:
>
> arch/x86/built-in.o: In function `arch_trigger_all_cpu_backtrace':
> (.text+0x151f5): undefined reference to `apic'
>
> config attached.

Hmm, I can't get the config to match up properly when I run 'make
oldconfig', even though I am using the HEAD of perf/nmi. I took the
defaults anyway and used 'ARCH=i386 make all' but couldn't reproduce your
build failure.

Looking through the code, is there ever case where 'apic' is undefined?
The arch_trigger_all_cpu_backtrace should match identically to the old nmi
code, so I am stuck on how to fix this.

Thoughts?

Cheers,
Don
--
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/