[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.