WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] PV-on-HVM: xencomm - compilation fix for old Linux kern

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] PV-on-HVM: xencomm - compilation fix for old Linux kernels.
From: "KUWAMURA Shin'ya" <kuwa@xxxxxxxxxxxxxx>
Date: Thu, 01 Nov 2007 14:48:34 +0900 (JST)
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 31 Oct 2007 22:51:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
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 <kuwa@xxxxxxxxxxxxxx>
-- 
  KUWAMURA Shin'ya
# HG changeset patch
# User KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
# Date 1189408844 -32400
# Node ID 0b0ee2d51ecf8f25a4ab5e4b00eb12758462c718
# Parent  46d0be0c483a09273219872bf452406886f1b3e6
PV-on-HVM: xencomm - compilation fix for old Linux kernels.

Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>

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 <asm/xen/xencomm.h>   /* for is_kern_addr() */
 #endif
 
+#ifdef HAVE_XEN_PLATFORM_COMPAT_H
+#include <xen/platform-compat.h>
+#endif
+
 static int xencomm_init(struct xencomm_desc *desc,
                        void *buffer, unsigned long bytes)
 {
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] PV-on-HVM: xencomm - compilation fix for old Linux kernels., KUWAMURA Shin'ya <=