From: "KUWAMURA Shin'ya" Subject: PV-on-HVM: xencomm - compilation fix for old Linux kernels. Date: Thu, 01 Nov 2007 14:48:34 +0900 (JST) Message-ID: <20071101.144834.45889734.kuwa@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Thu_Nov__1_14_48_34_2007_355)--" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-ia64-devel-bounces@lists.xensource.com Errors-To: xen-ia64-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: xen-ia64-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org ----Next_Part(Thu_Nov__1_14_48_34_2007_355)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, This fixes build errors of PV-on-HVM drivers for RHEL4U2 on ia64: /ia64/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/xencomm.c:71: error: syntax error before "gfp_mask" Signed-off-by: KUWAMURA Shin'ya -- KUWAMURA Shin'ya ----Next_Part(Thu_Nov__1_14_48_34_2007_355)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fix-pv-driver-rhel4u2-ia64.patch" # HG changeset patch # User KUWAMURA Shin'ya # Date 1189408844 -32400 # Node ID 0b0ee2d51ecf8f25a4ab5e4b00eb12758462c718 # Parent 46d0be0c483a09273219872bf452406886f1b3e6 PV-on-HVM: xencomm - compilation fix for old Linux kernels. Signed-off-by: KUWAMURA Shin'ya diff -r 46d0be0c483a -r 0b0ee2d51ecf drivers/xen/core/xencomm.c --- a/drivers/xen/core/xencomm.c Tue Sep 04 10:57:25 2007 +0900 +++ b/drivers/xen/core/xencomm.c Mon Sep 10 16:20:44 2007 +0900 @@ -27,6 +27,10 @@ #include /* for is_kern_addr() */ #endif +#ifdef HAVE_XEN_PLATFORM_COMPAT_H +#include +#endif + static int xencomm_init(struct xencomm_desc *desc, void *buffer, unsigned long bytes) { ----Next_Part(Thu_Nov__1_14_48_34_2007_355)-- Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel ----Next_Part(Thu_Nov__1_14_48_34_2007_355)----