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
commitf81a7efad89b56fa1782995b1527ba831e1a2057 (patch)
tree59d3845452dd6ebe124b826f8b20194395162100 /unmodified_drivers/linux-2.6/compat-include
parentcd77de667312b7d3c1117a019d1b183b36e16604 (diff)
downloadxen-f81a7efad89b56fa1782995b1527ba831e1a2057.tar.gz
xen-f81a7efad89b56fa1782995b1527ba831e1a2057.tar.bz2
xen-f81a7efad89b56fa1782995b1527ba831e1a2057.zip
PV-to-HVM: Impletement compatibility version of
schedule_timeout_interruptible for kernels before 2.6.14 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.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 1026f97653..6c08dad47d 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
@@ -37,4 +37,8 @@ unsigned long vmalloc_to_pfn(void *addr);
unsigned long wait_for_completion_timeout(struct completion *x, unsigned long timeout);
#endif
+#if defined(_LINUX_SCHED_H) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
+signed long schedule_timeout_interruptible(signed long timeout);
+#endif
+
#endif