From: "Ky Srinivasan" Subject: [PATCH] pv drivers for 2.6.5 kernels Date: Wed, 09 May 2007 14:03:13 -0600 Message-ID: <4641E076.E57C.0030.0@novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part54735D11.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 --=__Part54735D11.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 sles9. Signed-off-by: K. Y. Srinivasan --=__Part54735D11.0__= Content-Type: text/plain; name="unmoddrv_compat.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="unmoddrv_compat.patch" Index: xen-3.0.4-testing/unmodified_drivers/linux-2.6/compat-include/xen/pl= atform-compat.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xen-3.0.4-testing.orig/unmodified_drivers/linux-2.6/compat-include/xen/= platform-compat.h 2007-05-08 18:02:47.000000000 -0400 +++ xen-3.0.4-testing/unmodified_drivers/linux-2.6/compat-include/xen/platf= orm-compat.h 2007-05-09 12:05:03.000000000 -0400 @@ -36,9 +36,7 @@ /* Some kernels have this typedef backported so we cannot reliably * detect based on version number, hence we forcibly #define it. */ -#if defined(__LINUX_TYPES_H) || defined(__LINUX_GFP_H) #define gfp_t unsigned -#endif =20 #if defined(_LINUX_FS_H) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,9) #define nonseekable_open(inode, filp) /* Nothing to do */ --=__Part54735D11.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 --=__Part54735D11.0__=--