diff options
author | Hiro Sugawara <hsugawara@nvidia.com> | 2012-10-18 08:35:10 +0300 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2012-10-24 16:58:53 +0200 |
commit | d0078e72314df2e5ede03f2102cddde06767c374 (patch) | |
tree | b0c4b3e46bc8ef148338b38cdd31e5ba94375fd5 /drivers/iommu | |
parent | c2ff5cf5294bcbd7fa50f7d860e90a66db7e5059 (diff) |
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>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/tegra-smmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c index 0b4d62e0c64..a649f146d17 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) |