[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] PV-on-HVM: Add a compatibility linux/scatterlist.h for kernels before 2.6.12
Hi, Because the old kernel (< 2.6.12) does not have linux/scatterlist.h, building PV-on-HVM drivers fails. This patch add it to compat-include. Best regards, -- KUWAMURA Shin'ya # HG changeset patch # User KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx> # Date 1236819819 -32400 # Node ID 18df73c9ec3b8498466dcdab5031c53f93a5b061 # Parent dee5bc89873e33641c5ad4f5ae3990e8a5ddc246 PV-on-HVM: Add a compatibility linux/scatterlist.h for kernels before 2.6.12 Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx> diff -r dee5bc89873e -r 18df73c9ec3b unmodified_drivers/linux-2.6/compat-include/linux/scatterlist.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/unmodified_drivers/linux-2.6/compat-include/linux/scatterlist.h Thu Mar 12 10:03:39 2009 +0900 @@ -0,0 +1,10 @@ +#ifndef _LINUX_SCATTERLIST_H +#define _LINUX_SCATTERLIST_H + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12) +#error "This version of Linux should not need compat linux/scatterlist.h" +#endif + +#include <asm/scatterlist.h> + +#endif /* _LINUX_SCATTERLIST_H */ _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |