summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2014-07-09 15:43:11 +0200
committerJoerg Roedel <jroedel@suse.de>2014-07-10 15:37:03 +0200
commitd9e1611e7347b41bae8894e957a398fa41162dab (patch)
treef89a6c9f8917b1efe25e0154a822f2071bfb1df2 /Makefile
parentdba3838d7af38b15bcc8ff3437362d449408b547 (diff)
downloadop-kernel-dev-d9e1611e7347b41bae8894e957a398fa41162dab.zip
op-kernel-dev-d9e1611e7347b41bae8894e957a398fa41162dab.tar.gz
iommu/amd: Don't call the inv_ctx_cb when pasid is not set up
On the error path of amd_iommu_bind_pasid() we call mmu_notifier_unregister() for cleanup. This calls mn_release() which calls the users inv_ctx_cb function if one is available. Since the pasid is not set up yet there is nothing the user can to tear down in this call-back. So don't call inv_ctx_cb on the error path of amd_iommu_unbind_pasid() and make life of the users simpler. Signed-off-by: Joerg Roedel <jroedel@suse.de> Tested-by: Oded Gabbay <Oded.Gabbay@amd.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud