diff options
author | Don Zickus <dzickus@redhat.com> | 2010-02-18 21:56:52 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-02-19 23:04:13 +0100 |
commit | 2cc4452bc31fc1cde6f0b64a4eb13269f982787d (patch) | |
tree | 408f139a30a151de7c77ebefa51bf8c6dcc81120 /tools | |
parent | 96ca4028aca0638d0e11dcbfabc4283054072933 (diff) | |
download | op-kernel-dev-2cc4452bc31fc1cde6f0b64a4eb13269f982787d.zip op-kernel-dev-2cc4452bc31fc1cde6f0b64a4eb13269f982787d.tar.gz |
nmi_watchdog: Fix undefined 'apic' build bug
Ingo provided me a config that fails to compile with:
arch/x86/built-in.o: In function
`arch_trigger_all_cpu_backtrace': (.text+0x17e78): undefined
reference to `apic' make: *** [.tmp_vmlinux1] Error 1
I realized I changed the compile behaviour of the nmi code by
not wrapping it with CONFIG_LOCAL_APIC. To fix this I add a
compile check for ARCH_HAS_NMI_WATCHDOG around
arch_trigger_all_cpu_backtrace.
Signed-off-by: Don Zickus <dzickus@redhat.com>
Cc: a.p.zijlstra@chello.nl
Cc: gorcunov@gmail.com
Cc: aris@redhat.com
LKML-Reference: <1266548212-24243-1-git-send-email-dzickus@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions