diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2012-03-01 09:57:53 -0500 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2012-03-01 10:14:48 -0500 |
commit | 8704a1ba4751fc5ffe2289765cb7222b3a1e20d5 (patch) | |
tree | e6379e9323e4b5339269f04fe9938b07a251ee52 /include/linux/amd-iommu.h | |
parent | 6b21d18ed50c7d145220b0724ea7f2613abf0f95 (diff) |
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.h | 2 |
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; | |||
28 | struct pci_dev; | 28 | struct pci_dev; |
29 | 29 | ||
30 | extern int amd_iommu_detect(void); | 30 | extern int amd_iommu_detect(void); |
31 | 31 | extern int amd_iommu_init_hardware(void); | |
32 | 32 | ||
33 | /** | 33 | /** |
34 | * amd_iommu_enable_device_erratum() - Enable erratum workaround for device | 34 | * amd_iommu_enable_device_erratum() - Enable erratum workaround for device |