diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/cpu.h | 8 | ||||
-rw-r--r-- | include/linux/suspend.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/include/linux/cpu.h b/include/linux/cpu.h index 8fb344a9ab..3fef7d67ae 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h | |||
@@ -89,4 +89,12 @@ int cpu_down(unsigned int cpu); | |||
89 | static inline int cpu_is_offline(int cpu) { return 0; } | 89 | static inline int cpu_is_offline(int cpu) { return 0; } |
90 | #endif | 90 | #endif |
91 | 91 | ||
92 | #ifdef CONFIG_SUSPEND_SMP | ||
93 | extern int disable_nonboot_cpus(void); | ||
94 | extern void enable_nonboot_cpus(void); | ||
95 | #else | ||
96 | static inline int disable_nonboot_cpus(void) { return 0; } | ||
97 | static inline void enable_nonboot_cpus(void) {} | ||
98 | #endif | ||
99 | |||
92 | #endif /* _LINUX_CPU_H_ */ | 100 | #endif /* _LINUX_CPU_H_ */ |
diff --git a/include/linux/suspend.h b/include/linux/suspend.h index 96e31aa64c..6e8a06c950 100644 --- a/include/linux/suspend.h +++ b/include/linux/suspend.h | |||
@@ -57,14 +57,6 @@ static inline int software_suspend(void) | |||
57 | } | 57 | } |
58 | #endif /* CONFIG_PM */ | 58 | #endif /* CONFIG_PM */ |
59 | 59 | ||
60 | #ifdef CONFIG_SUSPEND_SMP | ||
61 | extern void disable_nonboot_cpus(void); | ||
62 | extern void enable_nonboot_cpus(void); | ||
63 | #else | ||
64 | static inline void disable_nonboot_cpus(void) {} | ||
65 | static inline void enable_nonboot_cpus(void) {} | ||
66 | #endif | ||
67 | |||
68 | void save_processor_state(void); | 60 | void save_processor_state(void); |
69 | void restore_processor_state(void); | 61 | void restore_processor_state(void); |
70 | struct saved_context; | 62 | struct saved_context; |