diff options
author | Ian Campbell <ian.campbell@xensource.com> | 2006-10-25 13:58:30 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@xensource.com> | 2006-10-25 13:58:30 +0100 |
commit | a0b780220aaf7562ceaf0e8ff32dd1047deef7c0 (patch) | |
tree | 5e0e305ddb7e065b4c3a710c25fb589ad95234b0 /unmodified_drivers/linux-2.6/compat-include | |
parent | 4a154f7453f2de0094505d13757c080345a5868e (diff) | |
download | xen-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/linux-2.6/compat-include')
-rw-r--r-- | unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h | 4 |
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 |