aboutsummaryrefslogtreecommitdiffstats
path: root/unmodified_drivers
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
commita0b780220aaf7562ceaf0e8ff32dd1047deef7c0 (patch)
tree5e0e305ddb7e065b4c3a710c25fb589ad95234b0 /unmodified_drivers
parent4a154f7453f2de0094505d13757c080345a5868e (diff)
downloadxen-a0b780220aaf7562ceaf0e8ff32dd1047deef7c0.tar.gz
xen-a0b780220aaf7562ceaf0e8ff32dd1047deef7c0.tar.bz2
xen-a0b780220aaf7562ceaf0e8ff32dd1047deef7c0.zip
PV-to-HVM: Add a compatibility define for the end_that_request_last
which changed prototype in 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')
-rw-r--r--unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h b/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h
index 219382c3c1..4978c63610 100644
--- a/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h
+++ b/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h
@@ -45,4 +45,8 @@ signed long schedule_timeout_interruptible(signed long timeout);
void *kzalloc(size_t size, int flags);
#endif
+#if defined(_LINUX_BLKDEV_H) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)
+#define end_that_request_last(req, uptodate) end_that_request_last(req)
+#endif
+
#endif