diff options
author | Konrad Rzeszutek Wilk <[email protected]> | 2010-08-26 13:58:05 -0400 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2010-08-26 15:14:52 -0700 |
commit | ee1f284f38c8dfcbc7b656915a039dde016de7d3 (patch) | |
tree | d89bc3d8bc153ca28e334ed991f0eaf8478b04c3 /net/unix/sysctl_net_unix.c | |
parent | 4db77ff3237a88ea74f691dd776e92b2f86a8f3f (diff) |
x86, iommu: Utilize the IOMMU_INIT macros functionality.
We remove all of the sub-platform detection/init routines and instead
use on the .iommu_table array of structs to call the .early_init if
.detect returned a positive value. Also we can stop detecting other
IOMMUs if the IOMMU used the _FINISH type macro. During the
'pci_iommu_init' stage, we call .init for the second-stage
initialization if it was defined. Currently only SWIOTLB has this
defined and it used to de-allocate the SWIOTLB if the other detected
IOMMUs have deemed it unnecessary to use SWIOTLB.
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
LKML-Reference: <[email protected]>
CC: Fujita Tomonori <[email protected]>
CC: Thomas Gleixner <[email protected]>
CC: Ingo Molnar <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions