From: Andrew Morton Date: Wed, 28 Sep 2011 00:49:35 +0000 (+1000) Subject: arch/x86/kernel/cpu/perf_event_amd.c needs asm/apicdef.h X-Git-Tag: next-20110930~1^2~260 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=573aad31cd2851b9de3398ef5b7e0b2711f7f6fb;p=karo-tx-linux.git arch/x86/kernel/cpu/perf_event_amd.c needs asm/apicdef.h x86_64 allnoconfig: arch/x86/kernel/cpu/perf_event_amd.c: In function 'amd_pmu_cpu_starting': arch/x86/kernel/cpu/perf_event_amd.c:350: error: 'BAD_APICID' undeclared (first use in this function) arch/x86/kernel/cpu/perf_event_amd.c:350: error: (Each undeclared identifier is reported only once arch/x86/kernel/cpu/perf_event_amd.c:350: error: for each function it appears in.) Cc: Kevin Winchester Cc: Peter Zijlstra Cc: Ingo Molnar Signed-off-by: Andrew Morton <> --- diff --git a/arch/x86/kernel/cpu/perf_event_amd.c b/arch/x86/kernel/cpu/perf_event_amd.c index 384450d67128..942814ba6648 100644 --- a/arch/x86/kernel/cpu/perf_event_amd.c +++ b/arch/x86/kernel/cpu/perf_event_amd.c @@ -4,6 +4,8 @@ #include #include +#include + #include "perf_event.h" static __initconst const u64 amd_hw_cache_event_ids