]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit853cf7cd254c41d1a8523cd174b76cb587b18585
tree345dea7130831f61095e6a55db6723a11f7f433c
parentb8d1acf0294fe5f1ce838d1d1410e08736c6d7a6
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