From c65b3f8832a25e0730a6790553037120580cfa72 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 24 Nov 2008 11:11:20 +0000 Subject: pv-on-hvm drivers: build fixes for Linux 2.6.27+ Make the drivers build properly in a 2.6.27 environment as well as against a kernel with pv-ops Xen configured on (in the latter case more work would be needed to also make the drivers work, as there's a large number of duplicate exports). Portions from Charles Arnold . Signed-off-by: Jan Beulich --- unmodified_drivers/linux-2.6/balloon/Kbuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'unmodified_drivers/linux-2.6/balloon') diff --git a/unmodified_drivers/linux-2.6/balloon/Kbuild b/unmodified_drivers/linux-2.6/balloon/Kbuild index bcc8b05207..316592d83a 100644 --- a/unmodified_drivers/linux-2.6/balloon/Kbuild +++ b/unmodified_drivers/linux-2.6/balloon/Kbuild @@ -4,6 +4,5 @@ obj-m = xen-balloon.o EXTRA_CFLAGS += -I$(M)/platform-pci -xen-balloon-objs = -xen-balloon-objs += balloon.o -xen-balloon-objs += sysfs.o +xen-balloon-y := balloon.o sysfs.o +xen-balloon-$(CONFIG_XEN_SCRUB_PAGES) += scrub.o -- cgit v1.2.3