aboutsummaryrefslogtreecommitdiffstats
path: root/unmodified_drivers/linux-2.6/platform-pci/xen_support.c
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
commit06b12ba822be1347e4eba853fc5cd3b1f23e4595 (patch)
treed0d74215e04d965ae0ae3693e452b271f16a58ee /unmodified_drivers/linux-2.6/platform-pci/xen_support.c
parent5631980c094604f5d64d22b4fa679a3eb152f303 (diff)
downloadxen-06b12ba822be1347e4eba853fc5cd3b1f23e4595.tar.gz
xen-06b12ba822be1347e4eba853fc5cd3b1f23e4595.tar.bz2
xen-06b12ba822be1347e4eba853fc5cd3b1f23e4595.zip
PV-on-HVM: Add infrastructure for a compatibility shim in order to
support PV-on-HVM drivers for older kernel releases. The compatability code is included in the xen-platform-pci module since this module underpins all the others. 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/platform-pci/xen_support.c')
-rw-r--r--unmodified_drivers/linux-2.6/platform-pci/xen_support.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/unmodified_drivers/linux-2.6/platform-pci/xen_support.c b/unmodified_drivers/linux-2.6/platform-pci/xen_support.c
index b1a903b1c7..423d2f2e24 100644
--- a/unmodified_drivers/linux-2.6/platform-pci/xen_support.c
+++ b/unmodified_drivers/linux-2.6/platform-pci/xen_support.c
@@ -26,6 +26,10 @@
#include <asm/hypervisor.h>
#include "platform-pci.h"
+#ifdef HAVE_XEN_PLATFORM_COMPAT_H
+#include <xen/platform-compat.h>
+#endif
+
void xen_machphys_update(unsigned long mfn, unsigned long pfn)
{
BUG();