26 lines
810 B
Diff
26 lines
810 B
Diff
# HG changeset patch
|
|
# User Ian Campbell <ian.campbell@xensource.com>
|
|
# Date Wed Oct 25 13:58:30 2006 +0100
|
|
# Node ID d008b6b44f3c9bd7d7f49737fdc1c93370bf783d
|
|
# parent: 206e20b7b54e09394ed161006439ee2b75ecee5e
|
|
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>
|
|
|
|
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
|
|
+++ b/unmodified_drivers/linux-2.6/compat-include/linux/io.h Wed Oct 25 13:58:30 2006 +0100
|
|
@@ -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
|
|
|