2011-03-21 17:47:37 +01:00
|
|
|
--- a/unmodified_drivers/linux-2.6/blkfront/Kbuild
|
|
|
|
+++ b/unmodified_drivers/linux-2.6/blkfront/Kbuild
|
2008-12-05 15:30:41 +01:00
|
|
|
@@ -3,3 +3,4 @@ include $(M)/overrides.mk
|
|
|
|
obj-m += xen-vbd.o
|
|
|
|
|
|
|
|
xen-vbd-objs := blkfront.o vbd.o
|
|
|
|
+xen-vbd-objs += $(patsubst %.c,%.o,$(notdir $(wildcard $(src)/vcd.c)))
|
2011-03-21 17:47:37 +01:00
|
|
|
--- a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
|
|
|
|
+++ b/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
|
|
|
|
@@ -123,6 +123,7 @@ unsigned long alloc_xen_mmio(unsigned lo
|
|
|
|
|
|
|
|
#ifndef __ia64__
|
|
|
|
|
|
|
|
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
|
|
|
|
static uint32_t xen_cpuid_base(void)
|
|
|
|
{
|
|
|
|
uint32_t base, eax, ebx, ecx, edx;
|
|
|
|
@@ -141,6 +142,7 @@ static uint32_t xen_cpuid_base(void)
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
static int init_hypercall_stubs(void)
|
|
|
|
{
|