From: Hiro Sugawara Date: Thu, 18 Oct 2012 05:35:10 +0000 (+0300) Subject: iommu/tegra: smmu: Fix deadly typo X-Git-Tag: upstream/snapshot3+hdmi~6347^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d0078e72314df2e5ede03f2102cddde06767c374;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git iommu/tegra: smmu: Fix deadly typo Fix a deadly typo in macro definition. Cc: stable@vger.kernel.org Signed-off-by: Hiro Sugawara Signed-off-by: Hiroshi Doyu Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c index 0b4d62e..a649f14 100644 --- a/drivers/iommu/tegra-smmu.c +++ b/drivers/iommu/tegra-smmu.c @@ -200,7 +200,7 @@ enum { #define SMMU_ADDR_TO_PFN(addr) ((addr) >> 12) #define SMMU_ADDR_TO_PDN(addr) ((addr) >> 22) -#define SMMU_PDN_TO_ADDR(addr) ((pdn) << 22) +#define SMMU_PDN_TO_ADDR(pdn) ((pdn) << 22) #define _READABLE (1 << SMMU_PTB_DATA_ASID_READABLE_SHIFT) #define _WRITABLE (1 << SMMU_PTB_DATA_ASID_WRITABLE_SHIFT)