summaryrefslogtreecommitdiff
path: root/include/linux/amd-iommu.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2012-03-01 18:57:53 +0400
committerJoerg Roedel <joerg.roedel@amd.com>2012-03-01 19:14:48 +0400
commit8704a1ba4751fc5ffe2289765cb7222b3a1e20d5 (patch)
treee6379e9323e4b5339269f04fe9938b07a251ee52 /include/linux/amd-iommu.h
parent6b21d18ed50c7d145220b0724ea7f2613abf0f95 (diff)
downloadlinux-8704a1ba4751fc5ffe2289765cb7222b3a1e20d5.tar.xz
iommu/amd: Split amd_iommu_init function
The hardware-initializtion part of the AMD IOMMU driver is split out into a seperate function. This function can now be called either from amd_iommu_init() itself or any other place if the hardware needs to be ready earlier. This will be used to implement interrupt remapping for AMD. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'include/linux/amd-iommu.h')
-rw-r--r--include/linux/amd-iommu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/amd-iommu.h b/include/linux/amd-iommu.h
index ef00610837d4..15f6b9edd0b1 100644
--- a/include/linux/amd-iommu.h
+++ b/include/linux/amd-iommu.h
@@ -28,7 +28,7 @@ struct task_struct;
struct pci_dev;
extern int amd_iommu_detect(void);
-
+extern int amd_iommu_init_hardware(void);
/**
* amd_iommu_enable_device_erratum() - Enable erratum workaround for device