summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiro Sugawara <hsugawara@nvidia.com>2012-10-18 08:35:10 +0300
committerJoerg Roedel <joerg.roedel@amd.com>2012-10-24 16:58:53 +0200
commitd0078e72314df2e5ede03f2102cddde06767c374 (patch)
treeb0c4b3e46bc8ef148338b38cdd31e5ba94375fd5
parentc2ff5cf5294bcbd7fa50f7d860e90a66db7e5059 (diff)
downloadop-kernel-dev-d0078e72314df2e5ede03f2102cddde06767c374.zip
op-kernel-dev-d0078e72314df2e5ede03f2102cddde06767c374.tar.gz
iommu/tegra: smmu: Fix deadly typo
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>
-rw-r--r--drivers/iommu/tegra-smmu.c2
1 files changed, 1 insertions, 1 deletions
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)
OpenPOWER on IntegriCloud