diff options
author | Martin Hostettler | 2011-02-24 21:51:31 +0100 |
---|---|---|
committer | Tony Lindgren | 2011-02-24 21:51:31 +0100 |
commit | ef4815ab1ff10d642c21ef92faa6544934bc78d1 (patch) | |
tree | a1eb3c43e281203282f6b0dc193aa07082357df0 /net/ipv4/udp_impl.h | |
parent | Merge branch 'for-tony' of git://gitorious.org/linux-omap-dss2/linux into oma... (diff) | |
download | kernel-qcow2-linux-ef4815ab1ff10d642c21ef92faa6544934bc78d1.tar.gz kernel-qcow2-linux-ef4815ab1ff10d642c21ef92faa6544934bc78d1.tar.xz kernel-qcow2-linux-ef4815ab1ff10d642c21ef92faa6544934bc78d1.zip |
omap: iommu: Gracefully fail iommu_enable if no arch_iommu is registered
In a modular build of the iommu code it's possible that the arch iommu code
isn't loaded when trying to enable the iommu. Instead of blindly following a
null pointer return -NODEV in that case.
Signed-off-by: Martin Hostettler <martin@neutronstar.dyndns.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'net/ipv4/udp_impl.h')
0 files changed, 0 insertions, 0 deletions