aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/perf_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/perf_event.c')
-rw-r--r--arch/powerpc/kernel/perf_event.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/perf_event.c b/arch/powerpc/kernel/perf_event.c
index d301a30445e..5f78681ad90 100644
--- a/arch/powerpc/kernel/perf_event.c
+++ b/arch/powerpc/kernel/perf_event.c
@@ -857,7 +857,7 @@ static void power_pmu_unthrottle(struct perf_event *event)
857 * Set the flag to make pmu::enable() not perform the 857 * Set the flag to make pmu::enable() not perform the
858 * schedulability test, it will be performed at commit time 858 * schedulability test, it will be performed at commit time
859 */ 859 */
860void power_pmu_start_txn(const struct pmu *pmu) 860void power_pmu_start_txn(struct pmu *pmu)
861{ 861{
862 struct cpu_hw_events *cpuhw = &__get_cpu_var(cpu_hw_events); 862 struct cpu_hw_events *cpuhw = &__get_cpu_var(cpu_hw_events);
863 863
@@ -870,7 +870,7 @@ void power_pmu_start_txn(const struct pmu *pmu)
870 * Clear the flag and pmu::enable() will perform the 870 * Clear the flag and pmu::enable() will perform the
871 * schedulability test. 871 * schedulability test.
872 */ 872 */
873void power_pmu_cancel_txn(const struct pmu *pmu) 873void power_pmu_cancel_txn(struct pmu *pmu)
874{ 874{
875 struct cpu_hw_events *cpuhw = &__get_cpu_var(cpu_hw_events); 875 struct cpu_hw_events *cpuhw = &__get_cpu_var(cpu_hw_events);
876 876
@@ -882,7 +882,7 @@ void power_pmu_cancel_txn(const struct pmu *pmu)
882 * Perform the group schedulability test as a whole 882 * Perform the group schedulability test as a whole
883 * Return 0 if success 883 * Return 0 if success
884 */ 884 */
885int power_pmu_commit_txn(const struct pmu *pmu) 885int power_pmu_commit_txn(struct pmu *pmu)
886{ 886{
887 struct cpu_hw_events *cpuhw; 887 struct cpu_hw_events *cpuhw;
888 long i, n; 888 long i, n;
@@ -1014,7 +1014,7 @@ static int hw_perf_cache_event(u64 config, u64 *eventp)
1014 return 0; 1014 return 0;
1015} 1015}
1016 1016
1017const struct pmu *hw_perf_event_init(struct perf_event *event) 1017struct pmu *hw_perf_event_init(struct perf_event *event)
1018{ 1018{
1019 u64 ev; 1019 u64 ev;
1020 unsigned long flags; 1020 unsigned long flags;