diff options
Diffstat (limited to 'include/linux/smp.h')
-rw-r--r-- | include/linux/smp.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/smp.h b/include/linux/smp.h index 93dff5fff524..be91db2a7017 100644 --- a/include/linux/smp.h +++ b/include/linux/smp.h | |||
@@ -151,6 +151,13 @@ smp_call_function_any(const struct cpumask *mask, smp_call_func_t func, | |||
151 | static inline void kick_all_cpus_sync(void) { } | 151 | static inline void kick_all_cpus_sync(void) { } |
152 | static inline void wake_up_all_idle_cpus(void) { } | 152 | static inline void wake_up_all_idle_cpus(void) { } |
153 | 153 | ||
154 | #ifdef CONFIG_UP_LATE_INIT | ||
155 | extern void __init up_late_init(void); | ||
156 | static inline void smp_init(void) { up_late_init(); } | ||
157 | #else | ||
158 | static inline void smp_init(void) { } | ||
159 | #endif | ||
160 | |||
154 | #endif /* !SMP */ | 161 | #endif /* !SMP */ |
155 | 162 | ||
156 | /* | 163 | /* |