diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/cpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/cpu.h b/include/linux/cpu.h index f02d71bf6894..71dc6ba4f73f 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h | |||
@@ -89,9 +89,9 @@ int cpu_down(unsigned int cpu); | |||
89 | #define lock_cpu_hotplug() do { } while (0) | 89 | #define lock_cpu_hotplug() do { } while (0) |
90 | #define unlock_cpu_hotplug() do { } while (0) | 90 | #define unlock_cpu_hotplug() do { } while (0) |
91 | #define lock_cpu_hotplug_interruptible() 0 | 91 | #define lock_cpu_hotplug_interruptible() 0 |
92 | #define hotcpu_notifier(fn, pri) do { } while (0) | 92 | #define hotcpu_notifier(fn, pri) do { (void)(fn); } while (0) |
93 | #define register_hotcpu_notifier(nb) do { } while (0) | 93 | #define register_hotcpu_notifier(nb) do { (void)(nb); } while (0) |
94 | #define unregister_hotcpu_notifier(nb) do { } while (0) | 94 | #define unregister_hotcpu_notifier(nb) do { (void)(nb); } while (0) |
95 | 95 | ||
96 | /* CPUs don't go offline once they're online w/o CONFIG_HOTPLUG_CPU */ | 96 | /* CPUs don't go offline once they're online w/o CONFIG_HOTPLUG_CPU */ |
97 | static inline int cpu_is_offline(int cpu) { return 0; } | 97 | static inline int cpu_is_offline(int cpu) { return 0; } |