diff options
Diffstat (limited to 'arch/arm/kernel/perf_event_xscale.c')
| -rw-r--r-- | arch/arm/kernel/perf_event_xscale.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/kernel/perf_event_xscale.c b/arch/arm/kernel/perf_event_xscale.c index f759fe0bab63..426e19f380a2 100644 --- a/arch/arm/kernel/perf_event_xscale.c +++ b/arch/arm/kernel/perf_event_xscale.c | |||
| @@ -430,7 +430,7 @@ xscale1pmu_write_counter(int counter, u32 val) | |||
| 430 | 430 | ||
| 431 | static int xscale_map_event(struct perf_event *event) | 431 | static int xscale_map_event(struct perf_event *event) |
| 432 | { | 432 | { |
| 433 | return map_cpu_event(event, &xscale_perf_map, | 433 | return armpmu_map_event(event, &xscale_perf_map, |
| 434 | &xscale_perf_cache_map, 0xFF); | 434 | &xscale_perf_cache_map, 0xFF); |
| 435 | } | 435 | } |
| 436 | 436 | ||
| @@ -449,7 +449,7 @@ static struct arm_pmu xscale1pmu = { | |||
| 449 | .max_period = (1LLU << 32) - 1, | 449 | .max_period = (1LLU << 32) - 1, |
| 450 | }; | 450 | }; |
| 451 | 451 | ||
| 452 | static struct arm_pmu *__init xscale1pmu_init(void) | 452 | static struct arm_pmu *__devinit xscale1pmu_init(void) |
| 453 | { | 453 | { |
| 454 | return &xscale1pmu; | 454 | return &xscale1pmu; |
| 455 | } | 455 | } |
| @@ -816,17 +816,17 @@ static struct arm_pmu xscale2pmu = { | |||
| 816 | .max_period = (1LLU << 32) - 1, | 816 | .max_period = (1LLU << 32) - 1, |
| 817 | }; | 817 | }; |
| 818 | 818 | ||
| 819 | static struct arm_pmu *__init xscale2pmu_init(void) | 819 | static struct arm_pmu *__devinit xscale2pmu_init(void) |
| 820 | { | 820 | { |
| 821 | return &xscale2pmu; | 821 | return &xscale2pmu; |
| 822 | } | 822 | } |
| 823 | #else | 823 | #else |
| 824 | static struct arm_pmu *__init xscale1pmu_init(void) | 824 | static struct arm_pmu *__devinit xscale1pmu_init(void) |
| 825 | { | 825 | { |
| 826 | return NULL; | 826 | return NULL; |
| 827 | } | 827 | } |
| 828 | 828 | ||
| 829 | static struct arm_pmu *__init xscale2pmu_init(void) | 829 | static struct arm_pmu *__devinit xscale2pmu_init(void) |
| 830 | { | 830 | { |
| 831 | return NULL; | 831 | return NULL; |
| 832 | } | 832 | } |
