diff options
author | Hiroshi DOYU <hdoyu@nvidia.com> | 2011-11-11 14:08:01 +0200 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2011-12-08 16:51:24 +0530 |
commit | 86a9acc2c0735e9ec8221a59d0afe7be3683d68f (patch) | |
tree | d326c0b63c83684d46ecae9dcb3b6afc1aeb33cd /arch/arm/mach-tegra/iovmm-smmu.c | |
parent | 696dcdf5212da97e1b24ef14e6263a6cbca4b4e5 (diff) |
ARM: tegra: smmu: Remove unnecessary wmb() after L2 cache flush
wmb() is not necessary right after outer_flush_range() because
outer_flush_range() does both cache_sync () and dsb at the end of
l2x0_flush_range().
Change-Id: I8de08831429ca3df7ee32e1e8871f5eccfbf69a5
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/66352
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/iovmm-smmu.c')
-rw-r--r-- | arch/arm/mach-tegra/iovmm-smmu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/iovmm-smmu.c b/arch/arm/mach-tegra/iovmm-smmu.c index 8cdbbd61b1a1..81e5d37434c4 100644 --- a/arch/arm/mach-tegra/iovmm-smmu.c +++ b/arch/arm/mach-tegra/iovmm-smmu.c @@ -340,7 +340,6 @@ struct smmu_device { unsigned long _pa_ = VA_PAGE_TO_PA(va, page); \ __cpuc_flush_dcache_area((void *)(va), (size_t)(size)); \ outer_flush_range(_pa_, _pa_+(size_t)(size)); \ - wmb(); \ } while (0) #define FLUSH_SMMU_REGS(smmu) \ |