Skip to content

Commit 590ee7d

Browse files
author
Ingo Molnar
committed
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>
1 parent 00df35f commit 590ee7d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/linux/cpu.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,10 @@ static inline void cpu_notifier_register_done(void)
214214
{
215215
}
216216

217+
static inline void smpboot_thread_init(void)
218+
{
219+
}
220+
217221
#endif /* CONFIG_SMP */
218222
extern struct bus_type cpu_subsys;
219223

0 commit comments

Comments
 (0)