Xen: fix cpu_hotplug build when !CONFIG_SMP
authorAlex Nixon <alex.nixon@citrix.com>
Wed, 3 Sep 2008 13:30:22 +0000 (14:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 5 Sep 2008 15:44:07 +0000 (17:44 +0200)
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>
drivers/xen/Makefile

index f62d8df2769686db2f840bbceaf5cdb41afd6067..d2a8fdf0e1918c7ada49c7a1c5c369647ddbeafd 100644 (file)
@@ -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