ia64/linux-2.6.18-xen.hg

changeset 302:7df27803297a

PV-on-HVM: xencomm - compilation fix for old Linux kernels.
Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
author Keir Fraser <keir@xensource.com>
date Thu Nov 01 09:35:35 2007 +0000 (2007-11-01)
parents d430336c1acb
children d827dfc6593e
files drivers/xen/core/xencomm.c
line diff
     1.1 --- a/drivers/xen/core/xencomm.c	Wed Oct 31 14:00:12 2007 +0000
     1.2 +++ b/drivers/xen/core/xencomm.c	Thu Nov 01 09:35:35 2007 +0000
     1.3 @@ -27,6 +27,10 @@
     1.4  #include <asm/xen/xencomm.h>	/* for is_kern_addr() */
     1.5  #endif
     1.6  
     1.7 +#ifdef HAVE_XEN_PLATFORM_COMPAT_H
     1.8 +#include <xen/platform-compat.h>
     1.9 +#endif
    1.10 +
    1.11  static int xencomm_init(struct xencomm_desc *desc,
    1.12  			void *buffer, unsigned long bytes)
    1.13  {