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
commit4a154f7453f2de0094505d13757c080345a5868e (patch)
tree2be8955597a30482b24e505e47d72d02253c1e05 /unmodified_drivers/linux-2.6/compat-include
parentf81a7efad89b56fa1782995b1527ba831e1a2057 (diff)
downloadxen-4a154f7453f2de0094505d13757c080345a5868e.tar.gz
xen-4a154f7453f2de0094505d13757c080345a5868e.tar.bz2
xen-4a154f7453f2de0094505d13757c080345a5868e.zip
PV-on-HVM: Include compatibility kzalloc implementation 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 6c08dad47d..219382c3c1 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
@@ -41,4 +41,8 @@ unsigned long wait_for_completion_timeout(struct completion *x, unsigned long ti
signed long schedule_timeout_interruptible(signed long timeout);
#endif
+#if defined(_LINUX_SLAB_H) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
+void *kzalloc(size_t size, int flags);
+#endif
+
#endif