iommu/core: let drivers know if an iommu fault handler isn't installed
authorOhad Ben-Cohen <ohad@wizery.com>
Tue, 27 Sep 2011 11:36:40 +0000 (07:36 -0400)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 30 Sep 2011 14:40:32 +0000 (16:40 +0200)
Make report_iommu_fault() return -ENOSYS whenever an iommu fault
handler isn't installed, so IOMMU drivers can then do their own
platform-specific default behavior if they wanted.

Fault handlers can still return -ENOSYS in case they want to elicit the
default behavior of the IOMMU drivers.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>

No differences found