summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-12-17 14:20:28 +0100
committerIngo Molnar <mingo@elte.hu>2008-12-23 12:45:13 +0100
commit7671581f1666ef4b54a1c1e598c51ac44c060a9b (patch)
tree8b3e7536e89f2b01d232de0c53c3b297b85618ba /arch
parent862a1a5f346fe7e9181ea51eaae48cf2cd70f746 (diff)
perfcounters: hw ops rename
Impact: rename field names Shorten them. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/cpu/perf_counter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/cpu/perf_counter.c b/arch/x86/kernel/cpu/perf_counter.c
index 358af5266407..b67557121425 100644
--- a/arch/x86/kernel/cpu/perf_counter.c
+++ b/arch/x86/kernel/cpu/perf_counter.c
@@ -577,9 +577,9 @@ static void pmc_generic_read(struct perf_counter *counter)
}
static const struct hw_perf_counter_ops x86_perf_counter_ops = {
- .hw_perf_counter_enable = pmc_generic_enable,
- .hw_perf_counter_disable = pmc_generic_disable,
- .hw_perf_counter_read = pmc_generic_read,
+ .enable = pmc_generic_enable,
+ .disable = pmc_generic_disable,
+ .read = pmc_generic_read,
};
const struct hw_perf_counter_ops *