summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlex Nixon <alex.nixon@citrix.com>2008-09-03 15:30:22 +0200
committerIngo Molnar <mingo@elte.hu>2008-09-05 17:44:07 +0200
commit5ab6d815dc23117cd9c5895cb9592824de3d4a68 (patch)
tree5bec2c7af1830511ef0b1124b959e9877a93d3fd /drivers
parentXen: fix cpu_hotplug.c build by replacing is_running_on_xen() with xen_pv_dom... (diff)
downloadlinux-5ab6d815dc23117cd9c5895cb9592824de3d4a68.tar.xz
linux-5ab6d815dc23117cd9c5895cb9592824de3d4a68.zip
Xen: fix cpu_hotplug build when !CONFIG_SMP
Compile cpu_hotplug.c conditionally on CONFIG_HOTPLUG_CPU Signed-off-by: Alex Nixon <alex.nixon@citrix.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/xen/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/xen/Makefile b/drivers/xen/Makefile
index f62d8df27696..d2a8fdf0e191 100644
--- a/drivers/xen/Makefile
+++ b/drivers/xen/Makefile
@@ -1,4 +1,5 @@
-obj-y += grant-table.o features.o events.o manage.o cpu_hotplug.o
+obj-y += grant-table.o features.o events.o manage.o
obj-y += xenbus/
+obj-$(CONFIG_HOTPLUG_CPU) += cpu_hotplug.o
obj-$(CONFIG_XEN_XENCOMM) += xencomm.o
obj-$(CONFIG_XEN_BALLOON) += balloon.o