浏览代码

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>
Alex Nixon 16 年之前
父节点
当前提交
5ab6d815dc
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      drivers/xen/Makefile

+ 2 - 1
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-y	+= xenbus/
+obj-$(CONFIG_HOTPLUG_CPU)	+= cpu_hotplug.o
 obj-$(CONFIG_XEN_XENCOMM)	+= xencomm.o
 obj-$(CONFIG_XEN_XENCOMM)	+= xencomm.o
 obj-$(CONFIG_XEN_BALLOON)	+= balloon.o
 obj-$(CONFIG_XEN_BALLOON)	+= balloon.o