Commit d29862f0 authored by David S. Miller's avatar David S. Miller

sparc64: Minor coding style fixups in perf code.

These got introduced during the counter --> event tree-wide
renaming.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a72a8a5f
...@@ -464,8 +464,7 @@ static u64 nop_for_index(int idx) ...@@ -464,8 +464,7 @@ static u64 nop_for_index(int idx)
sparc_pmu->lower_nop, idx); sparc_pmu->lower_nop, idx);
} }
static inline void sparc_pmu_enable_event(struct hw_perf_event *hwc, static inline void sparc_pmu_enable_event(struct hw_perf_event *hwc, int idx)
int idx)
{ {
u64 val, mask = mask_for_index(idx); u64 val, mask = mask_for_index(idx);
...@@ -473,8 +472,7 @@ static inline void sparc_pmu_enable_event(struct hw_perf_event *hwc, ...@@ -473,8 +472,7 @@ static inline void sparc_pmu_enable_event(struct hw_perf_event *hwc,
pcr_ops->write((val & ~mask) | hwc->config); pcr_ops->write((val & ~mask) | hwc->config);
} }
static inline void sparc_pmu_disable_event(struct hw_perf_event *hwc, static inline void sparc_pmu_disable_event(struct hw_perf_event *hwc, int idx)
int idx)
{ {
u64 mask = mask_for_index(idx); u64 mask = mask_for_index(idx);
u64 nop = nop_for_index(idx); u64 nop = nop_for_index(idx);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment