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-Tag: v3.16.35~221 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=046423723e979dd3e1ad1f88519f77890410990f;p=thirdparty%2Fkernel%2Fstable.git cpu: Provide smpboot_thread_init() on !CONFIG_SMP kernels as well commit 590ee7dbd569a012df705a5204fc5f1066f52b8c upstream. 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 Cc: Kamal Mostafa Signed-off-by: Luis Henriques --- diff --git a/include/linux/cpu.h b/include/linux/cpu.h index cd895a5e4d595..285111f954643 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h @@ -206,6 +206,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;