ia64/xen-unstable
changeset 18898:11d12d61b138
pv-on-hvm: fix for Centos 5.2
From: Yoshisato YANAGISAWA <yanagisawa.yoshisato@lab.ntt.co.jp>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
From: Yoshisato YANAGISAWA <yanagisawa.yoshisato@lab.ntt.co.jp>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Tue Dec 09 13:00:52 2008 +0000 (2008-12-09) |
parents | 043aba2b67a1 |
children | cd8c7d963af5 |
files | unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h unmodified_drivers/linux-2.6/overrides.mk |
line diff
1.1 --- a/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h Tue Dec 09 12:55:29 2008 +0000 1.2 +++ b/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h Tue Dec 09 13:00:52 2008 +0000 1.3 @@ -147,9 +147,11 @@ extern char *kasprintf(gfp_t gfp, const 1.4 * RHEL_VERSION 1.5 */ 1.6 #if !defined(RHEL_VERSION) || (RHEL_VERSION == 4 && RHEL_UPDATE < 5) 1.7 +#if !defined(RHEL_MAJOR) || (RHEL_MAJOR == 4 && RHEL_MINOR < 5) 1.8 typedef irqreturn_t (*irq_handler_t)(int, void *, struct pt_regs *); 1.9 #endif 1.10 #endif 1.11 +#endif 1.12 1.13 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23) 1.14 #define setup_xen_features xen_setup_features
2.1 --- a/unmodified_drivers/linux-2.6/overrides.mk Tue Dec 09 12:55:29 2008 +0000 2.2 +++ b/unmodified_drivers/linux-2.6/overrides.mk Tue Dec 09 13:00:52 2008 +0000 2.3 @@ -15,3 +15,4 @@ endif 2.4 2.5 EXTRA_CFLAGS += $(_XEN_CPPFLAGS) 2.6 EXTRA_AFLAGS += $(_XEN_CPPFLAGS) 2.7 +CPPFLAGS := -I$(M)/include $(CPPFLAGS)