diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2012-03-01 15:57:53 +0100 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2012-03-01 16:14:48 +0100 |
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 ef00610837d..15f6b9edd0b 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 |