Remove the suspend_cpu_hotplug declaration, which doesn't correspond to an existing variable. [rjw: Added the changelog.]
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -196,13 +196,9 @@ static inline void cpu_hotplug_driver_unlock(void) · 195 unmodified lines | |||
| 196 | #endif /* CONFIG_HOTPLUG_CPU */ | 196 | #endif /* CONFIG_HOTPLUG_CPU */ |
| 197 | 197 | ||
| 198 | #ifdef CONFIG_PM_SLEEP_SMP | 198 | #ifdef CONFIG_PM_SLEEP_SMP |
| 199 | extern int suspend_cpu_hotplug; | ||
| 200 | |||
| 201 | extern int disable_nonboot_cpus(void); | 199 | extern int disable_nonboot_cpus(void); |
| 202 | extern void enable_nonboot_cpus(void); | 200 | extern void enable_nonboot_cpus(void); |
| 203 | #else /* !CONFIG_PM_SLEEP_SMP */ | 201 | #else /* !CONFIG_PM_SLEEP_SMP */ |
| 204 | #define suspend_cpu_hotplug 0 | ||
| 205 | |||
| 206 | static inline int disable_nonboot_cpus(void) { return 0; } | 202 | static inline int disable_nonboot_cpus(void) { return 0; } |
| 207 | static inline void enable_nonboot_cpus(void) {} | 203 | static inline void enable_nonboot_cpus(void) {} |
| 208 | #endif /* !CONFIG_PM_SLEEP_SMP */ | 204 | #endif /* !CONFIG_PM_SLEEP_SMP */ |