aboutsummaryrefslogtreecommitdiffstats
path: root/unmodified_drivers
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-03-12 11:25:40 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-03-12 11:25:40 +0000
commitb41dfb227d713da2850e660cf2ff3aae43e9c99f (patch)
treeed807e7a0f60efd925a3b98c5f446526155e203b /unmodified_drivers
parent670741eb9496339f88e0133ce8d96a85040faec1 (diff)
downloadxen-b41dfb227d713da2850e660cf2ff3aae43e9c99f.tar.gz
xen-b41dfb227d713da2850e660cf2ff3aae43e9c99f.tar.bz2
xen-b41dfb227d713da2850e660cf2ff3aae43e9c99f.zip
PV-on-HVM: Add a compatibility linux/scatterlist.h for kernels before 2.6.12
Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
Diffstat (limited to 'unmodified_drivers')
-rw-r--r--unmodified_drivers/linux-2.6/compat-include/linux/scatterlist.h10
1 files changed, 10 insertions, 0 deletions
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
index 0000000000..e26a6acb51
--- /dev/null
+++ b/unmodified_drivers/linux-2.6/compat-include/linux/scatterlist.h
@@ -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 */