iommu/vt-d: free all resources if failed to initialize DMARs
authorJiang Liu <jiang.liu@linux.intel.com>
Mon, 6 Jan 2014 06:18:27 +0000 (14:18 +0800)
committerJoerg Roedel <joro@8bytes.org>
Thu, 9 Jan 2014 11:44:30 +0000 (12:44 +0100)
commit9bdc531ec63bf894c5e3b7b5a766ce342eb2f52e
tree39facee7d5df268b651c5ec1b877313185c955bc
parentb707cb027edf5b7ff1b8637c184b9a58d74e5159
iommu/vt-d: free all resources if failed to initialize DMARs

Enhance intel_iommu_init() to free all resources if failed to
initialize DMAR hardware.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/intel-iommu.c
This page took 0.03006 seconds and 5 git commands to generate.