diff options
author | Konrad Rzeszutek Wilk <[email protected]> | 2010-08-26 13:57:57 -0400 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2010-08-26 15:13:13 -0700 |
commit | 480125ba49ba62be93beea37770f266846e077ab (patch) | |
tree | 6e4437d77e352f5b03d1e00171bd77086378b01a /net/unix/sysctl_net_unix.c | |
parent | 0444ad93ea2449963132d68753020a6a24d69895 (diff) |
x86, iommu: Make all IOMMU's detection routines return a value.
We return 1 if the IOMMU has been detected. Zero or an error number
if we failed to find it. This is in preperation of using the IOMMU_INIT
so that we can detect whether an IOMMU is present. I have not
tested this for regression on Calgary, nor on AMD Vi chipsets as
I don't have that hardware.
CC: Muli Ben-Yehuda <[email protected]>
CC: "Jon D. Mason" <[email protected]>
CC: "Darrick J. Wong" <[email protected]>
CC: Jesse Barnes <[email protected]>
CC: David Woodhouse <[email protected]>
CC: Chris Wright <[email protected]>
CC: Yinghai Lu <[email protected]>
CC: Joerg Roedel <[email protected]>
CC: H. Peter Anvin <[email protected]>
CC: Fujita Tomonori <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
LKML-Reference: <[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