PV-on-HVM: Add a compatibility linux/scatterlist.h for kernels before 2.6.12
PATCH 1/1 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,
Signature · 1 line
KUWAMURA Shin'ya
# HG changeset patch
# User KUWAMURA Shin'ya <[email protected]>
# 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 <[email protected]>
unmodified_drivers/linux-2.6/compat-include/linux/scatterlist.h new file +10 -0
@@ -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
[email protected]
http://lists.xensource.com/xen-devel