[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH resend 06/13] acpi: arm: Update acpi_iort.h with xen specific changes
From: Manish Jaggi <mjaggi@xxxxxxxxxxxxxxxxxx> Remove the parts of acpi_iort.h which are not required for Xen. Signed-off-by: Manish Jaggi <manish.jaggi@xxxxxxxxxx> --- xen/include/asm-arm/acpi/acpi_iort.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/xen/include/asm-arm/acpi/acpi_iort.h b/xen/include/asm-arm/acpi/acpi_iort.h index 8d3f0bf803..dcffb23773 100644 --- a/xen/include/asm-arm/acpi/acpi_iort.h +++ b/xen/include/asm-arm/acpi/acpi_iort.h @@ -19,18 +19,13 @@ #ifndef __ACPI_IORT_H__ #define __ACPI_IORT_H__ -#include <linux/acpi.h> -#include <linux/fwnode.h> -#include <linux/irqdomain.h> +#include <asm/device.h> +#include <xen/acpi.h> #define IORT_IRQ_MASK(irq) (irq & 0xffffffffULL) #define IORT_IRQ_TRIGGER_MASK(irq) ((irq >> 32) & 0xffffffffULL) -int iort_register_domain_token(int trans_id, struct fwnode_handle *fw_node); -void iort_deregister_domain_token(int trans_id); -struct fwnode_handle *iort_find_domain_token(int trans_id); #ifdef CONFIG_ACPI_IORT -void acpi_iort_init(void); u32 iort_msi_map_rid(struct device *dev, u32 req_id); struct irq_domain *iort_get_device_domain(struct device *dev, u32 req_id); void acpi_configure_pmsi_domain(struct device *dev); @@ -39,7 +34,6 @@ int iort_pmsi_get_dev_id(struct device *dev, u32 *dev_id); void iort_dma_setup(struct device *dev, u64 *dma_addr, u64 *size); const struct iommu_ops *iort_iommu_configure(struct device *dev); #else -static inline void acpi_iort_init(void) { } static inline u32 iort_msi_map_rid(struct device *dev, u32 req_id) { return req_id; } static inline struct irq_domain *iort_get_device_domain(struct device *dev, -- 2.14.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |