From 046423723e979dd3e1ad1f88519f77890410990f Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Mon, 13 Apr 2015 10:04:59 +0200 Subject: [PATCH] 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 --- include/linux/cpu.h | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.47.3