Various warnings appeared since 3.4 - eliminate at least some of them. Signed-off-by: Jan Beulich --- 2009-11-30.orig/xen/arch/ia64/linux-xen/unwind.c 2009-06-29 12:33:51.000000000 +0200 +++ 2009-11-30/xen/arch/ia64/linux-xen/unwind.c 2009-11-30 10:52:24.000000000 +0100 @@ -38,7 +38,7 @@ // work around // write_trylock() does bug check, but stack unwinder can be called // subtle situation, so skip bug check. -#undef write_trylock(lock) +#undef write_trylock #ifdef CONFIG_SMP #define write_trylock(lock) _raw_write_trylock(lock) #else --- 2009-11-30.orig/xen/arch/ia64/xen/mm.c 2009-10-15 11:42:12.000000000 +0200 +++ 2009-11-30/xen/arch/ia64/xen/mm.c 2009-11-30 10:48:04.000000000 +0100 @@ -2875,6 +2875,7 @@ donate_page(struct domain *d, struct pag { /* needs to be implemented for transcendent memory (tmem) */ ASSERT(0); + return -ENOSYS; } static void --- 2009-11-30.orig/xen/common/tmem_xen.c 2009-11-23 11:23:30.000000000 +0100 +++ 2009-11-30/xen/common/tmem_xen.c 2009-11-30 10:49:16.000000000 +0100 @@ -84,6 +84,7 @@ void tmh_copy_page(char *to, char*from) static inline void *cli_mfn_to_va(tmem_cli_mfn_t cmfn, unsigned long *pcli_mfn) { ASSERT(0); + return NULL; } #define paging_mark_dirty(_x,_y) do {} while(0) #else --- 2009-11-30.orig/xen/drivers/passthrough/vtd/ia64/ats.c 2009-06-03 12:22:45.000000000 +0200 +++ 2009-11-30/xen/drivers/passthrough/vtd/ia64/ats.c 2009-11-30 10:54:58.000000000 +0100 @@ -28,6 +28,8 @@ #include "../vtd.h" #include "../extern.h" +struct pci_ats_dev; + int ats_enabled = 0; struct acpi_drhd_unit * find_ats_dev_drhd(struct iommu *iommu) @@ -45,12 +47,6 @@ int enable_ats_device(int seg, int bus, return 0; } -static int device_in_domain(struct iommu *iommu, - struct pci_ats_dev *pdev, u16 did) -{ - return 0; -} - int dev_invalidate_iotlb(struct iommu *iommu, u16 did, u64 addr, unsigned int size_order, u64 type) { --- 2009-11-30.orig/xen/include/asm-ia64/hvm/support.h 2009-10-01 10:53:02.000000000 +0200 +++ 2009-11-30/xen/include/asm-ia64/hvm/support.h 2009-11-30 10:44:29.000000000 +0100 @@ -25,13 +25,14 @@ #include -static int hvm_girq_dest_2_vcpu_id(struct domain *d, uint8_t dest, +static inline int hvm_girq_dest_2_vcpu_id(struct domain *d, uint8_t dest, uint8_t dest_mode) { /* TODO */ + return -ENOSYS; } -static void hvm_migrate_pirqs(struct vcpu *v) +static inline void hvm_migrate_pirqs(struct vcpu *v) { /* TODO */ }