cpu: Provide smpboot_thread_init() on !CONFIG_SMP kernels as well
authorIngo Molnar <mingo@kernel.org>
Mon, 13 Apr 2015 08:04:59 +0000 (10:04 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 13 Apr 2015 08:19:30 +0000 (10:19 +0200)
commit590ee7dbd569a012df705a5204fc5f1066f52b8c
treeb941e85828e6f7135c1343abb81239c86f194d6b
parent00df35f991914db6b8bde8cf09808e19a9cffc3d
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 <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: Ingo Molnar <mingo@kernel.org>
include/linux/cpu.h