Commit 6e963669 authored by Konrad Rzeszutek Wilk's avatar Konrad Rzeszutek Wilk Committed by H. Peter Anvin

x86, iommu: Update header comments with appropriate naming

The header comments diverged a bit from the implementation. Lets
re-sync them.
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
LKML-Reference: <1286564028-2352-3-git-send-email-konrad.wilk@oracle.com>
Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
parent fc6a2f37
#ifndef _ASM_X86_IOMMU_TABLE_H #ifndef _ASM_X86_IOMMU_TABLE_H
#define _ASM_X86_IOMMU_TABLE_H #define _ASM_X86_IOMMU_TABLE_H
...@@ -60,7 +59,7 @@ struct iommu_table_entry { ...@@ -60,7 +59,7 @@ struct iommu_table_entry {
* and it will be run after the SWIOTLB and the other IOMMUs * and it will be run after the SWIOTLB and the other IOMMUs
* that utilize this macro. If the IOMMU is detected (ie, the * that utilize this macro. If the IOMMU is detected (ie, the
* detect routine returns a positive value), the other IOMMUs * detect routine returns a positive value), the other IOMMUs
* are also checked. You can use IOMMU_INIT_FINISH if you prefer * are also checked. You can use IOMMU_INIT_POST_FINISH if you prefer
* to stop detecting the other IOMMUs after yours has been detected. * to stop detecting the other IOMMUs after yours has been detected.
*/ */
#define IOMMU_INIT_POST(_detect) \ #define IOMMU_INIT_POST(_detect) \
...@@ -80,9 +79,9 @@ struct iommu_table_entry { ...@@ -80,9 +79,9 @@ struct iommu_table_entry {
* d). Similar to the 'init', except that this gets called from pci_iommu_init * d). Similar to the 'init', except that this gets called from pci_iommu_init
* where we do have a memory allocator. * where we do have a memory allocator.
* *
* The _CONT vs the _EXIT differs in that the _CONT variant will * The standard vs the _FINISH differs in that the _FINISH variant will
* continue detecting other IOMMUs in the call list after the * continue detecting other IOMMUs in the call list after the
* the detection routine returns a positive number. The _EXIT will * the detection routine returns a positive number. The _FINISH will
* stop the execution chain. Both will still call the 'init' and * stop the execution chain. Both will still call the 'init' and
* 'late_init' functions if they are set. * 'late_init' functions if they are set.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment