Get iommu from g_iommus for deferred flush
authorWeidong Han <weidong.han@intel.com>
Mon, 8 Dec 2008 03:24:12 +0000 (11:24 +0800)
committerJoerg Roedel <joerg.roedel@amd.com>
Sat, 3 Jan 2009 13:02:17 +0000 (14:02 +0100)
commita2bb8459fe46e5aaad6637b31b5593d740097cba
tree0d380bb2cc70f6a26aade2c8b44ee6e4f183b76d
parentd9630fe941769dd050fbc38fbbac20a708ab9461
Get iommu from g_iommus for deferred flush

deferred_flush[] uses the iommu seq_id to index, so its iommu is fixed and can get it from g_iommus.

Signed-off-by: Weidong Han <weidong.han@intel.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/pci/intel-iommu.c