perf: Fix build breakage for architecutes without atomic64_t
[deliverable/linux.git] / include / linux / perf_event.h
index 7342979f95f220f535f1d268341f6d202de8b5de..1218d05728b9135c87a12370d2d5fa6f8326cc70 100644 (file)
@@ -462,6 +462,7 @@ enum perf_callchain_context {
 
 #ifdef CONFIG_PERF_EVENTS
 # include <asm/perf_event.h>
+# include <asm/local64.h>
 #endif
 
 struct perf_guest_info_callbacks {
@@ -487,7 +488,6 @@ struct perf_guest_info_callbacks {
 #include <linux/cpu.h>
 #include <asm/atomic.h>
 #include <asm/local.h>
-#include <asm/local64.h>
 
 #define PERF_MAX_STACK_DEPTH           255
 
This page took 0.025017 seconds and 5 git commands to generate.