aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/cpu.h')
-rw-r--r--include/linux/cpu.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/cpu.h b/include/linux/cpu.h
index e287863ac053..2d9073883ea9 100644
--- a/include/linux/cpu.h
+++ b/include/linux/cpu.h
@@ -48,6 +48,15 @@ extern ssize_t arch_cpu_release(const char *, size_t);
48#endif 48#endif
49struct notifier_block; 49struct notifier_block;
50 50
51/*
52 * CPU notifier priorities.
53 */
54enum {
55 /* migration should happen before other stuff but after perf */
56 CPU_PRI_PERF = 20,
57 CPU_PRI_MIGRATION = 10,
58};
59
51#ifdef CONFIG_SMP 60#ifdef CONFIG_SMP
52/* Need to know about CPUs going up/down? */ 61/* Need to know about CPUs going up/down? */
53#if defined(CONFIG_HOTPLUG_CPU) || !defined(MODULE) 62#if defined(CONFIG_HOTPLUG_CPU) || !defined(MODULE)