[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] CONFIG_XEN_PV breaks xen_create_contiguous_region on ARM
xen_create_contiguous_region has now only an implementation if CONFIG_XEN_PV is defined. However, on ARM we never set CONFIG_XEN_PV but we do have an implementation of xen_create_contiguous_region which is required for swiotlb-xen to work correctly (although it just sets *dma_handle). This fixes a bug introduced by 16624390816c4c40df3d777b34665d3fd01e693d. diff --git a/include/xen/xen-ops.h b/include/xen/xen-ops.h index fd18c97..939a962 100644 --- a/include/xen/xen-ops.h +++ b/include/xen/xen-ops.h @@ -41,7 +41,7 @@ static inline uint32_t xen_vcpu_nr(int cpu) extern unsigned long *xen_contiguous_bitmap; -#ifdef CONFIG_XEN_PV +#ifdef CONFIG_XEN_PV || CONFIG_ARM || CONFIG_ARM64 int xen_create_contiguous_region(phys_addr_t pstart, unsigned int order, unsigned int address_bits, dma_addr_t *dma_handle); _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |