PV-on-HVM: Add a compatibility linux/scatterlist.h for kernels before 2.6.12
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 12 Mar 2009 11:25:40 +0000 (11:25 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 12 Mar 2009 11:25:40 +0000 (11:25 +0000)
Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
unmodified_drivers/linux-2.6/compat-include/linux/scatterlist.h [new file with mode: 0644]

diff --git a/unmodified_drivers/linux-2.6/compat-include/linux/scatterlist.h b/unmodified_drivers/linux-2.6/compat-include/linux/scatterlist.h
new file mode 100644 (file)
index 0000000..e26a6ac
--- /dev/null
@@ -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 */