iommu/tegra: smmu: Fix deadly typo
authorHiro Sugawara <hsugawara@nvidia.com>
Thu, 18 Oct 2012 05:35:10 +0000 (08:35 +0300)
committerJoerg Roedel <joerg.roedel@amd.com>
Wed, 24 Oct 2012 14:58:53 +0000 (16:58 +0200)
Fix a deadly typo in macro definition.

Cc: stable@vger.kernel.org
Signed-off-by: Hiro Sugawara <hsugawara@nvidia.com>
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/tegra-smmu.c

index 0b4d62e0c64573cea96dc38f237436a036aa74cf..a649f146d17bad0b62d15a1d174c57147a9a2a2f 100644 (file)
@@ -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)