aboutsummaryrefslogtreecommitdiffstats
path: root/unmodified_drivers/linux-2.6/compat-include
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@xensource.com>2006-10-25 13:58:30 +0100
committerIan Campbell <ian.campbell@xensource.com>2006-10-25 13:58:30 +0100
commit3dd858632a6cfd1b55e38395f6fd143f7ae96f6c (patch)
tree0dd1bbcb34f735c3a7a73512772ca9d0f029c28c /unmodified_drivers/linux-2.6/compat-include
parent06b12ba822be1347e4eba853fc5cd3b1f23e4595 (diff)
downloadxen-3dd858632a6cfd1b55e38395f6fd143f7ae96f6c.tar.gz
xen-3dd858632a6cfd1b55e38395f6fd143f7ae96f6c.tar.bz2
xen-3dd858632a6cfd1b55e38395f6fd143f7ae96f6c.zip
PV-on-HVM: Add a compatibility linux/io.h for kernels before 2.6.16
Signed-off-by: Ian Campbell <ian.campbell@xensource.com> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com> Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Diffstat (limited to 'unmodified_drivers/linux-2.6/compat-include')
-rw-r--r--unmodified_drivers/linux-2.6/compat-include/linux/io.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/unmodified_drivers/linux-2.6/compat-include/linux/io.h b/unmodified_drivers/linux-2.6/compat-include/linux/io.h
new file mode 100644
index 0000000000..10499023a5
--- /dev/null
+++ b/unmodified_drivers/linux-2.6/compat-include/linux/io.h
@@ -0,0 +1,10 @@
+#ifndef _LINUX_IO_H
+#define _LINUX_IO_H
+
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
+#error "This version of Linux should not need compat linux/io.h"
+#endif
+
+#include <asm/io.h>
+
+#endif