From: Ingo Molnar Date: Mon, 13 Apr 2015 08:04:59 +0000 (+0200) Subject: cpu: Provide smpboot_thread_init() on !CONFIG_SMP kernels as well X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=590ee7dbd569a012df705a5204fc5f1066f52b8c;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git cpu: Provide smpboot_thread_init() on !CONFIG_SMP kernels as well Now that we are using smpboot_thread_init() in init/main.c as well, provide it for !CONFIG_SMP as well. This addresses a !CONFIG_SMP build failure. Cc: Paul E. McKenney Cc: Borislav Petkov Cc: Andrew Morton Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar --- diff --git a/include/linux/cpu.h b/include/linux/cpu.h index 091badf0f6ba..c0fb6b1b4712 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h @@ -214,6 +214,10 @@ static inline void cpu_notifier_register_done(void) { } +static inline void smpboot_thread_init(void) +{ +} + #endif /* CONFIG_SMP */ extern struct bus_type cpu_subsys;