From: "Ky Srinivasan" Subject: [PATCH] PV drivers for RHEL4 and sles9 Date: Wed, 09 May 2007 14:41:02 -0600 Message-ID: <4641E952.E57C.0030.0@novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part93B49ACE.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --=__Part93B49ACE.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline This patch fixes a compilation problem in PV drivers targeted for RHEL 4 = and sles9 64 bit kernels. Signed- off- by: K. Y. Srinivasan --=__Part93B49ACE.0__= Content-Type: text/plain; name="unmoddrv_pud.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="unmoddrv_pud.patch" --- linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypervisor.h = 2007-04-24 12:22:22.000000000 -0400 +++ linux-2.6-xen-sparse-new/include/asm-i386/mach-xen/asm/hypervisor.h = 2007-05-09 15:22:28.000000000 -0400 @@ -52,7 +52,9 @@ # include # 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; =20 #define vcpu_info(cpu) (HYPERVISOR_shared_info->vcpu_info + (cpu)) --=__Part93B49ACE.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__Part93B49ACE.0__=--