diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-04-13 10:04:59 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-04-13 10:19:30 +0200 |
commit | 590ee7dbd569a012df705a5204fc5f1066f52b8c (patch) | |
tree | b941e85828e6f7135c1343abb81239c86f194d6b | |
parent | 00df35f991914db6b8bde8cf09808e19a9cffc3d (diff) | |
download | op-kernel-dev-590ee7dbd569a012df705a5204fc5f1066f52b8c.zip op-kernel-dev-590ee7dbd569a012df705a5204fc5f1066f52b8c.tar.gz |
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>
-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 091badf..c0fb6b1 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; |