diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-04-13 11:04:59 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-04-13 11:19:30 +0300 |
commit | 590ee7dbd569a012df705a5204fc5f1066f52b8c (patch) | |
tree | b941e85828e6f7135c1343abb81239c86f194d6b /include/linux | |
parent | 00df35f991914db6b8bde8cf09808e19a9cffc3d (diff) | |
download | linux-590ee7dbd569a012df705a5204fc5f1066f52b8c.tar.xz |
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>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/cpu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/cpu.h b/include/linux/cpu.h index 091badf0f6ba..c0fb6b1b4712 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h @@ -214,6 +214,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; |