]> Git Repo - linux.git/commitdiff
x86: Perf_event_amd.c needs <asm/apicdef.h>
authorRandy Dunlap <[email protected]>
Tue, 27 Sep 2011 17:00:40 +0000 (10:00 -0700)
committerIngo Molnar <[email protected]>
Tue, 27 Sep 2011 17:55:09 +0000 (19:55 +0200)
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 <[email protected]>
Cc: Robert Richter <[email protected]>
Cc: Andre Przywara <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/cpu/perf_event_amd.c

index ed334c8892652b634b0766378984f66b9e49ae31..384450d67128e7c86e60f7250c7d5fe7c578d11b 100644 (file)
@@ -2,6 +2,7 @@
 #include <linux/types.h>
 #include <linux/init.h>
 #include <linux/slab.h>
+#include <asm/apicdef.h>
 
 #include "perf_event.h"
 
This page took 0.074742 seconds and 4 git commands to generate.