Skip to contentSkip to conversation

PV drivers for RHEL4 and sles9

PATCH New Ky Srinivasan 1 participant 1 message May 9, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PV drivers for RHEL4 and sles9

This patch fixes a compilation problem in PV drivers targeted for RHEL 4 and sles9 64 bit kernels.

Signed- off- by: K. Y. Srinivasan <[email protected]>

include/asm-i386/mach-xen/asm/hypervisor.h +3 -1
@@ -52,7 +52,9 @@
 #   include <asm-generic/pgtable-nopmd.h>
 #  endif
 #endif
-
+#if  defined(__x86_64__) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10)
+#define pud_t             pgd_t
+#endif
 extern shared_info_t *HYPERVISOR_shared_info;
 
 #define vcpu_info(cpu) (HYPERVISOR_shared_info->vcpu_info + (cpu))

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel