Skip to contentSkip to conversation

PV-on-HVM: xencomm - compilation fix for old Linux kernels.

PATCH KUWAMURA Shin'ya 1 participant 1 message Nov 1, 2007 Xen hypervisor interface

lore
Share & tools
lore
#0 lore raw

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"

Signature · 1 line
  KUWAMURA Shin'ya

# HG changeset patch
# User KUWAMURA Shin'ya <[email protected]>
# Date 1189408844 -32400
# Node ID 0b0ee2d51ecf8f25a4ab5e4b00eb12758462c718 # Parent 46d0be0c483a09273219872bf452406886f1b3e6
PV-on-HVM: xencomm - compilation fix for old Linux kernels.

drivers/xen/core/xencomm.c +4 -0
diff -r 46d0be0c483a -r 0b0ee2d51ecf drivers/xen/core/xencomm.c
@@ -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
[email protected]
http://lists.xensource.com/xen-ia64-devel