| .. | .. |
|---|
| 2 | 2 | #ifndef _ASM_IA64_IOMMU_H |
|---|
| 3 | 3 | #define _ASM_IA64_IOMMU_H 1 |
|---|
| 4 | 4 | |
|---|
| 5 | +#include <linux/acpi.h> |
|---|
| 6 | + |
|---|
| 5 | 7 | /* 10 seconds */ |
|---|
| 6 | 8 | #define DMAR_OPERATION_TIMEOUT (((cycles_t) local_cpu_data->itc_freq)*10) |
|---|
| 7 | 9 | |
|---|
| 8 | | -extern void pci_iommu_shutdown(void); |
|---|
| 9 | 10 | extern void no_iommu_init(void); |
|---|
| 10 | 11 | #ifdef CONFIG_INTEL_IOMMU |
|---|
| 11 | 12 | extern int force_iommu, no_iommu; |
|---|
| 12 | | -extern int iommu_pass_through; |
|---|
| 13 | 13 | extern int iommu_detected; |
|---|
| 14 | + |
|---|
| 15 | +static inline int __init |
|---|
| 16 | +arch_rmrr_sanity_check(struct acpi_dmar_reserved_memory *rmrr) { return 0; } |
|---|
| 14 | 17 | #else |
|---|
| 15 | | -#define iommu_pass_through (0) |
|---|
| 16 | 18 | #define no_iommu (1) |
|---|
| 17 | 19 | #define iommu_detected (0) |
|---|
| 18 | 20 | #endif |
|---|
| 19 | | -extern void iommu_dma_init(void); |
|---|
| 20 | | -extern void machvec_init(const char *name); |
|---|
| 21 | 21 | |
|---|
| 22 | 22 | #endif |
|---|