summaryrefslogtreecommitdiff
path: root/drivers/xen/Makefile
diff options
context:
space:
mode:
authorAlex Nixon <alex.nixon@citrix.com>2008-09-03 17:30:22 +0400
committerIngo Molnar <mingo@elte.hu>2008-09-05 19:44:07 +0400
commit5ab6d815dc23117cd9c5895cb9592824de3d4a68 (patch)
tree5bec2c7af1830511ef0b1124b959e9877a93d3fd /drivers/xen/Makefile
parent5c51c637e489f3f4d58d51365b0c558549918858 (diff)
downloadlinux-5ab6d815dc23117cd9c5895cb9592824de3d4a68.tar.xz
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/xen/Makefile')
-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