diff options
Diffstat (limited to 'arch/powerpc/kernel/power6-pmu.c')
-rw-r--r-- | arch/powerpc/kernel/power6-pmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/power6-pmu.c b/arch/powerpc/kernel/power6-pmu.c index 31603927e376..e13dcda4fa98 100644 --- a/arch/powerpc/kernel/power6-pmu.c +++ b/arch/powerpc/kernel/power6-pmu.c | |||
@@ -535,7 +535,7 @@ static struct power_pmu power6_pmu = { | |||
535 | .cache_events = &power6_cache_events, | 535 | .cache_events = &power6_cache_events, |
536 | }; | 536 | }; |
537 | 537 | ||
538 | static int init_power6_pmu(void) | 538 | static int __init init_power6_pmu(void) |
539 | { | 539 | { |
540 | if (!cur_cpu_spec->oprofile_cpu_type || | 540 | if (!cur_cpu_spec->oprofile_cpu_type || |
541 | strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc64/power6")) | 541 | strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc64/power6")) |