diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2010-06-11 07:35:57 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-09-09 14:46:27 -0400 |
commit | 51b0fe39549a04858001922919ab355dee9bdfcf (patch) | |
tree | 024768dd0c87e890edf76e129820ea0cdf16a257 /arch/alpha/kernel | |
parent | 2aa61274efb9f532deaebc9812675a27af1994cb (diff) |
perf: Deconstify struct pmu
sed -ie 's/const struct pmu\>/struct pmu/g' `git grep -l "const struct pmu\>"`
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: paulus <paulus@samba.org>
Cc: stephane eranian <eranian@googlemail.com>
Cc: Robert Richter <robert.richter@amd.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Lin Ming <ming.m.lin@intel.com>
Cc: Yanmin <yanmin_zhang@linux.intel.com>
Cc: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
Cc: David Miller <davem@davemloft.net>
Cc: Michael Cree <mcree@orcon.net.nz>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/alpha/kernel')
-rw-r--r-- | arch/alpha/kernel/perf_event.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/alpha/kernel/perf_event.c b/arch/alpha/kernel/perf_event.c index 51c39fa41693..56fa41590381 100644 --- a/arch/alpha/kernel/perf_event.c +++ b/arch/alpha/kernel/perf_event.c | |||
@@ -642,7 +642,7 @@ static int __hw_perf_event_init(struct perf_event *event) | |||
642 | return 0; | 642 | return 0; |
643 | } | 643 | } |
644 | 644 | ||
645 | static const struct pmu pmu = { | 645 | static struct pmu pmu = { |
646 | .enable = alpha_pmu_enable, | 646 | .enable = alpha_pmu_enable, |
647 | .disable = alpha_pmu_disable, | 647 | .disable = alpha_pmu_disable, |
648 | .read = alpha_pmu_read, | 648 | .read = alpha_pmu_read, |
@@ -653,7 +653,7 @@ static const struct pmu pmu = { | |||
653 | /* | 653 | /* |
654 | * Main entry point to initialise a HW performance event. | 654 | * Main entry point to initialise a HW performance event. |
655 | */ | 655 | */ |
656 | const struct pmu *hw_perf_event_init(struct perf_event *event) | 656 | struct pmu *hw_perf_event_init(struct perf_event *event) |
657 | { | 657 | { |
658 | int err; | 658 | int err; |
659 | 659 | ||