]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/perf_event.h
Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[net-next-2.6.git] / include / linux / perf_event.h
index 937495c250733418f10797d6d7098c5ae1641fa4..716f99b682c1a57fb3b6f1f72e90aec3982ca5fd 100644 (file)
@@ -1067,7 +1067,7 @@ static inline void perf_event_disable(struct perf_event *event)           { }
 #define perf_cpu_notifier(fn)                                  \
 do {                                                           \
        static struct notifier_block fn##_nb __cpuinitdata =    \
-               { .notifier_call = fn, .priority = 20 };        \
+               { .notifier_call = fn, .priority = CPU_PRI_PERF }; \
        fn(&fn##_nb, (unsigned long)CPU_UP_PREPARE,             \
                (void *)(unsigned long)smp_processor_id());     \
        fn(&fn##_nb, (unsigned long)CPU_STARTING,               \