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

[Xen-changelog] [xen-unstable] pv-on-hvm: fix for Centos 5.2



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1228827652 0
# Node ID 11d12d61b138e1de9042359a89a4866a809b6104
# Parent  043aba2b67a195d2c2707f8fd0c05bbbf2078d2a
pv-on-hvm: fix for Centos 5.2

From: Yoshisato YANAGISAWA <yanagisawa.yoshisato@xxxxxxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h |    2 ++
 unmodified_drivers/linux-2.6/overrides.mk                         |    1 +
 2 files changed, 3 insertions(+)

diff -r 043aba2b67a1 -r 11d12d61b138 
unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h
--- a/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h Tue Dec 
09 12:55:29 2008 +0000
+++ b/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h Tue Dec 
09 13:00:52 2008 +0000
@@ -147,7 +147,9 @@ extern char *kasprintf(gfp_t gfp, const 
  *   RHEL_VERSION
  */
 #if !defined(RHEL_VERSION) || (RHEL_VERSION == 4 && RHEL_UPDATE < 5)
+#if !defined(RHEL_MAJOR) || (RHEL_MAJOR == 4 && RHEL_MINOR < 5)
 typedef irqreturn_t (*irq_handler_t)(int, void *, struct pt_regs *);
+#endif
 #endif
 #endif
 
diff -r 043aba2b67a1 -r 11d12d61b138 unmodified_drivers/linux-2.6/overrides.mk
--- a/unmodified_drivers/linux-2.6/overrides.mk Tue Dec 09 12:55:29 2008 +0000
+++ b/unmodified_drivers/linux-2.6/overrides.mk Tue Dec 09 13:00:52 2008 +0000
@@ -15,3 +15,4 @@ _XEN_CPPFLAGS += -include $(objtree)/inc
 
 EXTRA_CFLAGS += $(_XEN_CPPFLAGS)
 EXTRA_AFLAGS += $(_XEN_CPPFLAGS)
+CPPFLAGS := -I$(M)/include $(CPPFLAGS)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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