aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/perf_counter.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/perf_counter.c')
-rw-r--r--kernel/perf_counter.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/perf_counter.c b/kernel/perf_counter.c
index df319c48c52b..8d2653f137e9 100644
--- a/kernel/perf_counter.c
+++ b/kernel/perf_counter.c
@@ -3902,8 +3902,12 @@ perf_cpu_notify(struct notifier_block *self, unsigned long action, void *hcpu)
3902 return NOTIFY_OK; 3902 return NOTIFY_OK;
3903} 3903}
3904 3904
3905/*
3906 * This has to have a higher priority than migration_notifier in sched.c.
3907 */
3905static struct notifier_block __cpuinitdata perf_cpu_nb = { 3908static struct notifier_block __cpuinitdata perf_cpu_nb = {
3906 .notifier_call = perf_cpu_notify, 3909 .notifier_call = perf_cpu_notify,
3910 .priority = 20,
3907}; 3911};
3908 3912
3909void __init perf_counter_init(void) 3913void __init perf_counter_init(void)