hotplug: Fix UP bug in smpboot hotplug code
authorPaul E. McKenney <paul.mckenney@linaro.org>
Thu, 12 Jul 2012 08:55:54 +0000 (01:55 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 13 Aug 2012 15:01:07 +0000 (17:01 +0200)
commit3180d89b47701072cf129f800a735baf3acdbb8a
tree345dea7130831f61095e6a55db6723a11f7f433c
parentf97f8f06a49febbc3cb3635172efbe64ddc79700
hotplug: Fix UP bug in smpboot hotplug code

Because kernel subsystems need their per-CPU kthreads on UP systems as
well as on SMP systems, the smpboot hotplug kthread functions must be
provided in UP builds as well as in SMP builds.  This commit therefore
adds smpboot.c to UP builds and excludes irrelevant code via #ifdef.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/Makefile
kernel/smpboot.c