perf: Convert perf_event to local_t
[deliverable/linux.git] / include / linux / perf_event.h
index f34dab9b275e671da81623c1188f5aee3c74ad69..7342979f95f220f535f1d268341f6d202de8b5de 100644 (file)
@@ -487,6 +487,7 @@ 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
 
@@ -536,10 +537,10 @@ struct hw_perf_event {
                struct arch_hw_breakpoint       info;
 #endif
        };
-       atomic64_t                      prev_count;
+       local64_t                       prev_count;
        u64                             sample_period;
        u64                             last_period;
-       atomic64_t                      period_left;
+       local64_t                       period_left;
        u64                             interrupts;
 
        u64                             freq_time_stamp;
@@ -670,7 +671,7 @@ struct perf_event {
 
        enum perf_event_active_state    state;
        unsigned int                    attach_state;
-       atomic64_t                      count;
+       local64_t                       count;
        atomic64_t                      child_count;
 
        /*
This page took 0.033594 seconds and 5 git commands to generate.