diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2011-09-27 10:00:40 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-09-27 19:55:09 +0200 |
commit | d6eed550a9d08fbd1fce32e517e8c49afa6edbf7 (patch) | |
tree | 0c749a4058afdd2b00b1488734896cb79773dd60 /arch/x86/kernel | |
parent | de0428a7ad4856c7b5b8a2792488ac893e6f3faa (diff) |
x86: Perf_event_amd.c needs <asm/apicdef.h>
Fix (rare) build error by adding <asm/apicdef.h> header file:
arch/x86/kernel/cpu/perf_event_amd.c:350:2: error: 'BAD_APICID' undeclared (first use in this function)
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Robert Richter <robert.richter@amd.com>
Cc: Andre Przywara <andre.przywara@amd.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Link: http://lkml.kernel.org/r/4E820138.90301@xenotime.net
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/cpu/perf_event_amd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/perf_event_amd.c b/arch/x86/kernel/cpu/perf_event_amd.c index ed334c889265..384450d67128 100644 --- a/arch/x86/kernel/cpu/perf_event_amd.c +++ b/arch/x86/kernel/cpu/perf_event_amd.c @@ -2,6 +2,7 @@ #include <linux/types.h> #include <linux/init.h> #include <linux/slab.h> +#include <asm/apicdef.h> #include "perf_event.h" |