From: "Jan Beulich" Subject: [PATCH] fix compatibility handling of XEN_GUEST_HANDLE_00030205 Date: Mon, 21 Jan 2008 14:39:50 +0000 Message-ID: <4794BCC6.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline 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 Using the plain type doesn't work anymore with recent changes to XEN_GUEST_HANDLE(). Signed-off-by: Jan Beulich Index: ./xen/include/public/xen-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 --- a/xen/include/public/xen-compat.h 2007-11-02 17:34:24.000000000 = +0100 +++ b/xen/include/public/xen-compat.h 2008-01-21 14:47:16.000000000 = +0100 @@ -45,7 +45,8 @@ #if __XEN_INTERFACE_VERSION__ >=3D 0x00030205 #define XEN_GUEST_HANDLE_00030205(type) XEN_GUEST_HANDLE(type) #else -#define XEN_GUEST_HANDLE_00030205(type) type * +typedef void void_t; +#define XEN_GUEST_HANDLE_00030205(type) type##_t * #endif =20 #endif /* __XEN_PUBLIC_XEN_COMPAT_H__ */