Commit 04642372 authored by Ingo Molnar's avatar Ingo Molnar Committed by Luis Henriques

cpu: Provide smpboot_thread_init() on !CONFIG_SMP kernels as well

commit 590ee7db 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 <paulmck@linux.vnet.ibm.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Cc: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
parent 3ffac7f4
...@@ -206,6 +206,10 @@ static inline void cpu_notifier_register_done(void) ...@@ -206,6 +206,10 @@ static inline void cpu_notifier_register_done(void)
{ {
} }
static inline void smpboot_thread_init(void)
{
}
#endif /* CONFIG_SMP */ #endif /* CONFIG_SMP */
extern struct bus_type cpu_subsys; extern struct bus_type cpu_subsys;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment