From bbe39297b5ae9d618a4f71268546e04fc8f37165 Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild2.aw" Date: Mon, 12 Mar 2007 08:40:57 -0600 Subject: [IA64] Fix for compiling PV-on-HVM driver on IPF Signed-off-by: Tsunehisa Doi --- unmodified_drivers/linux-2.6/platform-pci/xen_support.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'unmodified_drivers') 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 589d8365ec..431115a8cc 100644 --- a/unmodified_drivers/linux-2.6/platform-pci/xen_support.c +++ b/unmodified_drivers/linux-2.6/platform-pci/xen_support.c @@ -45,7 +45,13 @@ unsigned long __hypercall(unsigned long a1, unsigned long a2, return __res; } EXPORT_SYMBOL(__hypercall); -#endif + +int HYPERVISOR_grant_table_op(unsigned int cmd, void *uop, unsigned int count) +{ + return xencomm_mini_hypercall_grant_table_op(cmd, uop, count); +} +EXPORT_SYMBOL(HYPERVISOR_grant_table_op); +#endif /* __ia64__ */ void xen_machphys_update(unsigned long mfn, unsigned long pfn) { -- cgit v1.2.3