|
@@ -672,7 +672,7 @@ static struct power_pmu power5p_pmu = {
|
|
.cache_events = &power5p_cache_events,
|
|
.cache_events = &power5p_cache_events,
|
|
};
|
|
};
|
|
|
|
|
|
-static int init_power5p_pmu(void)
|
|
|
|
|
|
+static int __init init_power5p_pmu(void)
|
|
{
|
|
{
|
|
if (!cur_cpu_spec->oprofile_cpu_type ||
|
|
if (!cur_cpu_spec->oprofile_cpu_type ||
|
|
(strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc64/power5+")
|
|
(strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc64/power5+")
|