diff options
Diffstat (limited to 'arch/powerpc/kernel/ppc970-pmu.c')
-rw-r--r-- | arch/powerpc/kernel/ppc970-pmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/ppc970-pmu.c b/arch/powerpc/kernel/ppc970-pmu.c index 9a6e093858fe..45d787920991 100644 --- a/arch/powerpc/kernel/ppc970-pmu.c +++ b/arch/powerpc/kernel/ppc970-pmu.c | |||
@@ -484,7 +484,7 @@ static struct power_pmu ppc970_pmu = { | |||
484 | .cache_events = &ppc970_cache_events, | 484 | .cache_events = &ppc970_cache_events, |
485 | }; | 485 | }; |
486 | 486 | ||
487 | static int init_ppc970_pmu(void) | 487 | static int __init init_ppc970_pmu(void) |
488 | { | 488 | { |
489 | if (!cur_cpu_spec->oprofile_cpu_type || | 489 | if (!cur_cpu_spec->oprofile_cpu_type || |
490 | (strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc64/970") | 490 | (strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc64/970") |