|
@@ -1389,7 +1389,7 @@ static void __init pmu_check_apic(void)
|
|
|
pr_info("no hardware sampling interrupt available.\n");
|
|
|
}
|
|
|
|
|
|
-int __init init_hw_perf_events(void)
|
|
|
+static int __init init_hw_perf_events(void)
|
|
|
{
|
|
|
struct event_constraint *c;
|
|
|
int err;
|
|
@@ -1608,7 +1608,7 @@ out:
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
-int x86_pmu_event_init(struct perf_event *event)
|
|
|
+static int x86_pmu_event_init(struct perf_event *event)
|
|
|
{
|
|
|
struct pmu *tmp;
|
|
|
int err;
|