[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel][PATCH][RESEND] PV drivers for HVM guests
Hi Ian, I (Doi.Tsunehisa) said: > You (Ian.Campbell) said: >> OK, I'm boot testing on sles9sp3 and rhel4.4. I've met a compile error about gfp_t in rhel4.4. Thus, I avoided to meet the compile error with preliminary patch like below. Thanks, - Tsunehisa Doi diff -r 5b9bf5501157 -r 1b7b292278d0 unmodified_drivers/linux-2.6/compat-include/compat.h --- a/unmodified_drivers/linux-2.6/compat-include/compat.h Tue Oct 24 09:25:24 2006 +0900 +++ b/unmodified_drivers/linux-2.6/compat-include/compat.h Tue Oct 24 17:55:16 2006 +0900 @@ -31,7 +31,8 @@ #define __sched #endif -#if defined(_LINUX_TYPES_H) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14) +#if defined(_LINUX_TYPES_H) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14) \ + && !defined(HAVE_GFP_T) typedef unsigned __nocast gfp_t; #endif diff -r 5b9bf5501157 -r 1b7b292278d0 unmodified_drivers/linux-2.6/overrides.mk --- a/unmodified_drivers/linux-2.6/overrides.mk Tue Oct 24 09:25:24 2006 +0900 +++ b/unmodified_drivers/linux-2.6/overrides.mk Tue Oct 24 17:55:16 2006 +0900 @@ -10,3 +10,6 @@ EXTRA_CFLAGS += -DCONFIG_XEN_NETDEV_GRAN EXTRA_CFLAGS += -DCONFIG_XEN_NETDEV_GRANT_RX -DCONFIG_XEN_NETDEV_GRANT_TX EXTRA_CFLAGS += -D__XEN_INTERFACE_VERSION__=0x00030202 EXTRA_CFLAGS += -I$(M)/include -I$(M)/compat-include -DHAVE_COMPAT_H +ifeq ($(KERNELRELEASE),2.6.9-42.EL) # for RHEL4 U4 + EXTRA_CFLAGS += -DHAVE_GFP_T +endif _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |