diff options
author | Heiko Stübner <heiko@sntech.de> | 2014-10-29 01:22:56 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2014-11-04 15:00:48 +0100 |
commit | d7da6bdc322bb79c4326dff7c2727236a48c4be9 (patch) | |
tree | 65411798415b8d124525ee4d51426b08f47fd028 /arch/powerpc/kernel/head_32.S | |
parent | 38ec010d9b04ed94845f8ff6f10d33eb6bbfe180 (diff) | |
download | linux-d7da6bdc322bb79c4326dff7c2727236a48c4be9.tar.gz |
iommu: Improve error handling when setting bus iommu
When some part of bus_set_iommu fails it should undo any made changes
and not simply leave everything as is.
This includes unregistering the bus notifier in iommu_bus_init when
add_iommu_group fails and also setting the bus->iommu_ops back to NULL.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'arch/powerpc/kernel/head_32.S')
0 files changed, 0 insertions, 0 deletions