OSDN Git Service

iommu/arm-smmu: Remove some duplicate macro definitions
authorMitchel Humpherys <mitchelh@codeaurora.org>
Tue, 22 Sep 2015 19:10:39 +0000 (12:10 -0700)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:14:17 +0000 (11:14 -0700)
When we brought back hardware ATOS support [94bc89042be5cb:
"iommu/arm-smmu: Resurrect hardware iova-to-phys"] we added some macros
back that were never deleted in the first place.  Clean up the redundant
macros.

Change-Id: I0129313fa4132f45fe5805e9ed3477ef7819e70e
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
drivers/iommu/arm-smmu.c

index 4f9a8c5..41d29da 100644 (file)
 
 #define FSYNR0_WNR                     (1 << 4)
 
-#define ARM_SMMU_IMPL_DEF0(smmu) \
-       ((smmu)->base + (2 * (1 << (smmu)->pgshift)))
-#define ARM_SMMU_IMPL_DEF1(smmu) \
-       ((smmu)->base + (6 * (1 << (smmu)->pgshift)))
-#define IMPL_DEF1_MICRO_MMU_CTRL       0
-#define MICRO_MMU_CTRL_LOCAL_HALT_REQ  (1 << 2)
-
 static int force_stage;
 module_param_named(force_stage, force_stage, int, S_IRUGO | S_IWUSR);
 MODULE_PARM_DESC(force_stage,