diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2015-06-05 08:34:55 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-06-11 07:14:54 +0200 |
commit | c5773822c000bafd462ad02db1d61459acef0d52 (patch) | |
tree | 07e4dd73e7af5b3cf12f61bd73576488df3b8217 /arch/m32r/platforms | |
parent | powerpc/iommu/powernv: Get rid of set_iommu_table_base_and_group (diff) | |
download | linux-c5773822c000bafd462ad02db1d61459acef0d52.tar.xz linux-c5773822c000bafd462ad02db1d61459acef0d52.zip |
powerpc/powernv/ioda: Clean up IOMMU group registration
The existing code has 3 calls to iommu_register_group() and
all 3 branches actually cover all possible cases.
This replaces 3 calls with one and moves the registration earlier;
the latter will make more sense when we add TCE table sharing.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/m32r/platforms')
0 files changed, 0 insertions, 0 deletions