|
@@ -49,7 +49,7 @@ int __init oprofile_arch_init(struct oprofile_operations *ops)
|
|
return oprofile_perf_init(ops);
|
|
return oprofile_perf_init(ops);
|
|
}
|
|
}
|
|
|
|
|
|
-void __exit oprofile_arch_exit(void)
|
|
|
|
|
|
+void oprofile_arch_exit(void)
|
|
{
|
|
{
|
|
oprofile_perf_exit();
|
|
oprofile_perf_exit();
|
|
kfree(sh_pmu_op_name);
|
|
kfree(sh_pmu_op_name);
|
|
@@ -60,5 +60,5 @@ int __init oprofile_arch_init(struct oprofile_operations *ops)
|
|
ops->backtrace = sh_backtrace;
|
|
ops->backtrace = sh_backtrace;
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
}
|
|
}
|
|
-void __exit oprofile_arch_exit(void) {}
|
|
|
|
|
|
+void oprofile_arch_exit(void) {}
|
|
#endif /* CONFIG_HW_PERF_EVENTS */
|
|
#endif /* CONFIG_HW_PERF_EVENTS */
|