|
@@ -316,7 +316,7 @@ static void xscale1pmu_stop(struct arm_pmu *cpu_pmu)
|
|
|
raw_spin_unlock_irqrestore(&events->pmu_lock, flags);
|
|
|
}
|
|
|
|
|
|
-static inline u32 xscale1pmu_read_counter(struct perf_event *event)
|
|
|
+static inline u64 xscale1pmu_read_counter(struct perf_event *event)
|
|
|
{
|
|
|
struct hw_perf_event *hwc = &event->hw;
|
|
|
int counter = hwc->idx;
|
|
@@ -337,7 +337,7 @@ static inline u32 xscale1pmu_read_counter(struct perf_event *event)
|
|
|
return val;
|
|
|
}
|
|
|
|
|
|
-static inline void xscale1pmu_write_counter(struct perf_event *event, u32 val)
|
|
|
+static inline void xscale1pmu_write_counter(struct perf_event *event, u64 val)
|
|
|
{
|
|
|
struct hw_perf_event *hwc = &event->hw;
|
|
|
int counter = hwc->idx;
|
|
@@ -678,7 +678,7 @@ static void xscale2pmu_stop(struct arm_pmu *cpu_pmu)
|
|
|
raw_spin_unlock_irqrestore(&events->pmu_lock, flags);
|
|
|
}
|
|
|
|
|
|
-static inline u32 xscale2pmu_read_counter(struct perf_event *event)
|
|
|
+static inline u64 xscale2pmu_read_counter(struct perf_event *event)
|
|
|
{
|
|
|
struct hw_perf_event *hwc = &event->hw;
|
|
|
int counter = hwc->idx;
|
|
@@ -705,7 +705,7 @@ static inline u32 xscale2pmu_read_counter(struct perf_event *event)
|
|
|
return val;
|
|
|
}
|
|
|
|
|
|
-static inline void xscale2pmu_write_counter(struct perf_event *event, u32 val)
|
|
|
+static inline void xscale2pmu_write_counter(struct perf_event *event, u64 val)
|
|
|
{
|
|
|
struct hw_perf_event *hwc = &event->hw;
|
|
|
int counter = hwc->idx;
|