hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/arch/ia64/include/asm/iommu.h
....@@ -2,21 +2,21 @@
22 #ifndef _ASM_IA64_IOMMU_H
33 #define _ASM_IA64_IOMMU_H 1
44
5
+#include <linux/acpi.h>
6
+
57 /* 10 seconds */
68 #define DMAR_OPERATION_TIMEOUT (((cycles_t) local_cpu_data->itc_freq)*10)
79
8
-extern void pci_iommu_shutdown(void);
910 extern void no_iommu_init(void);
1011 #ifdef CONFIG_INTEL_IOMMU
1112 extern int force_iommu, no_iommu;
12
-extern int iommu_pass_through;
1313 extern int iommu_detected;
14
+
15
+static inline int __init
16
+arch_rmrr_sanity_check(struct acpi_dmar_reserved_memory *rmrr) { return 0; }
1417 #else
15
-#define iommu_pass_through (0)
1618 #define no_iommu (1)
1719 #define iommu_detected (0)
1820 #endif
19
-extern void iommu_dma_init(void);
20
-extern void machvec_init(const char *name);
2121
2222 #endif