OSDN Git Service

iommu/amd: Init stats for iommu=pt
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 22 Dec 2011 11:35:38 +0000 (12:35 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 22 Dec 2011 13:56:56 +0000 (14:56 +0100)
commit2655d7a29703f29d4b6b8e4ee1f4d682b3b28f9c
tree34b98c50eb910a4e1bdf1bb9faec83c5b7043bfb
parent31342b58b72b2b8480f12ffee648c8ba3297dee1
iommu/amd: Init stats for iommu=pt

The IOMMUv2 driver added a few statistic counter which are
interesting in the iommu=pt mode too. So initialize the
statistic counter for that mode too.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd_iommu.c