diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2010-10-08 14:53:48 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-10-08 16:11:21 -0400 |
commit | 6e9636693373d938aa3b13427be3d212f172ac06 (patch) | |
tree | 7dbcffe95e60a26d511b3fd419e9a9f43388a1d4 | |
parent | fc6a2f37d084173de57fe75f73cbe4bb296b9e8a (diff) |
x86, iommu: Update header comments with appropriate naming
The header comments diverged a bit from the implementation. Lets
re-sync them.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
LKML-Reference: <1286564028-2352-3-git-send-email-konrad.wilk@oracle.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r-- | arch/x86/include/asm/iommu_table.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/x86/include/asm/iommu_table.h b/arch/x86/include/asm/iommu_table.h index df55a78888e..f229b13a5f3 100644 --- a/arch/x86/include/asm/iommu_table.h +++ b/arch/x86/include/asm/iommu_table.h | |||
@@ -1,4 +1,3 @@ | |||
1 | |||
2 | #ifndef _ASM_X86_IOMMU_TABLE_H | 1 | #ifndef _ASM_X86_IOMMU_TABLE_H |
3 | #define _ASM_X86_IOMMU_TABLE_H | 2 | #define _ASM_X86_IOMMU_TABLE_H |
4 | 3 | ||
@@ -60,7 +59,7 @@ struct iommu_table_entry { | |||
60 | * and it will be run after the SWIOTLB and the other IOMMUs | 59 | * and it will be run after the SWIOTLB and the other IOMMUs |
61 | * that utilize this macro. If the IOMMU is detected (ie, the | 60 | * that utilize this macro. If the IOMMU is detected (ie, the |
62 | * detect routine returns a positive value), the other IOMMUs | 61 | * detect routine returns a positive value), the other IOMMUs |
63 | * are also checked. You can use IOMMU_INIT_FINISH if you prefer | 62 | * are also checked. You can use IOMMU_INIT_POST_FINISH if you prefer |
64 | * to stop detecting the other IOMMUs after yours has been detected. | 63 | * to stop detecting the other IOMMUs after yours has been detected. |
65 | */ | 64 | */ |
66 | #define IOMMU_INIT_POST(_detect) \ | 65 | #define IOMMU_INIT_POST(_detect) \ |
@@ -80,9 +79,9 @@ struct iommu_table_entry { | |||
80 | * d). Similar to the 'init', except that this gets called from pci_iommu_init | 79 | * d). Similar to the 'init', except that this gets called from pci_iommu_init |
81 | * where we do have a memory allocator. | 80 | * where we do have a memory allocator. |
82 | * | 81 | * |
83 | * The _CONT vs the _EXIT differs in that the _CONT variant will | 82 | * The standard vs the _FINISH differs in that the _FINISH variant will |
84 | * continue detecting other IOMMUs in the call list after the | 83 | * continue detecting other IOMMUs in the call list after the |
85 | * the detection routine returns a positive number. The _EXIT will | 84 | * the detection routine returns a positive number. The _FINISH will |
86 | * stop the execution chain. Both will still call the 'init' and | 85 | * stop the execution chain. Both will still call the 'init' and |
87 | * 'late_init' functions if they are set. | 86 | * 'late_init' functions if they are set. |
88 | */ | 87 | */ |