mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Fix unmodified drivers for PV-on-HVM on IA64.
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com> Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
This commit is contained in:
1 parent
da52271d2b
commit
60ddf8d64d
2 files changed
+10
-1
No files matched your search
@@ -42,6 +42,12 @@ i[34567]86)
|
||||
ln -sf ${XL}/include/asm-i386/mach-xen/asm/synch_bitops.h include/asm
|
||||
ln -sf ${XL}/include/asm-i386/mach-xen/asm/maddr.h include/asm
|
||||
;;
|
||||
"ia64")
|
||||
ln -sf ${XL}/include/asm-ia64/hypervisor.h include/asm
|
||||
ln -sf ${XL}/include/asm-ia64/hypercall.h include/asm
|
||||
ln -sf ${XL}/include/asm-ia64/synch_bitops.h include/asm
|
||||
ln -sf ${XL}/include/asm-ia64/maddr.h include/asm
|
||||
;;
|
||||
*)
|
||||
echo unknown architecture $uname
|
||||
exit 1
|
||||
|
||||
@@ -117,6 +117,7 @@ unsigned long alloc_xen_mmio(unsigned long len)
|
||||
return addr;
|
||||
}
|
||||
|
||||
#ifndef __ia64__
|
||||
/* Lifted from hvmloader.c */
|
||||
static int get_hypercall_stubs(void)
|
||||
{
|
||||
@@ -162,6 +163,9 @@ static int get_hypercall_stubs(void)
|
||||
|
||||
return 0;
|
||||
}
|
||||
#else /* __ia64__ */
|
||||
#define get_hypercall_stubs() (0)
|
||||
#endif
|
||||
|
||||
static int __devinit platform_pci_init(struct pci_dev *pdev,
|
||||
const struct pci_device_id *ent)
|
||||
@@ -207,7 +211,6 @@ static int __devinit platform_pci_init(struct pci_dev *pdev,
|
||||
if (ret < 0)
|
||||
goto out;
|
||||
|
||||
|
||||
if ((ret = init_xen_info()))
|
||||
goto out;
|
||||
|
||||
|
||||