ARM: tegra: smmu: Fix statistics debugfs format
Hiroshi Doyu [Thu, 2 Aug 2012 08:25:38 +0000 (11:25 +0300)]
Fix the format along with IOMMU.

Change-Id: Ifec2ed28fd60c376bc47fc55c08c219a4ec67021
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/120313
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

arch/arm/mach-tegra/iovmm-smmu.c

index 8d23b40..4da97da 100644 (file)
@@ -715,7 +715,7 @@ static int smmu_debugfs_stats_show(struct seq_file *s, void *v)
                offs += sizeof(u32) * i;
                val = readl(smmu->regs + offs);
 
-               seq_printf(s, "%08x ", val);
+               seq_printf(s, "%s:%08x ", smmu_debugfs_stats[i], val);
 
                pr_debug("%s() %s %08x @%08x\n", __func__,
                         smmu_debugfs_stats[i], val, offs);