]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arch/x86/kernel/cpu/perf_event_amd.c needs asm/apicdef.h
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 28 Sep 2011 00:49:35 +0000 (10:49 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 29 Sep 2011 06:07:48 +0000 (16:07 +1000)
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 <kjwinchester@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Andrew Morton <>
arch/x86/kernel/cpu/perf_event_amd.c

index 384450d67128e7c86e60f7250c7d5fe7c578d11b..942814ba6648a47a2b6e5d13eba20e5f873fc71d 100644 (file)
@@ -4,6 +4,8 @@
 #include <linux/slab.h>
 #include <asm/apicdef.h>
 
+#include <asm/apicdef.h>
+
 #include "perf_event.h"
 
 static __initconst const u64 amd_hw_cache_event_ids