diff options
author | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2019-06-24 16:31:08 +0100 |
---|---|---|
committer | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2019-06-26 11:58:55 +0000 |
commit | 0f50b6252bceb49547dfa05c3eba1a0e1e209d7d (patch) | |
tree | 92008608ac68f69348f867e4ae422f28093fa3a6 /src/dev/arm/smmu_v3_cmdexec.cc | |
parent | f82f1dd81b9e2342e1c43fe5c413626c1cde996f (diff) | |
download | gem5-0f50b6252bceb49547dfa05c3eba1a0e1e209d7d.tar.xz |
dev-arm: Remove un-needed Q_CONS_PROD_MASK macro
Change-Id: I858d7eea088bbdd2dc12123e21e59991c896597f
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Michiel Van Tol <michiel.vantol@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19310
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/dev/arm/smmu_v3_cmdexec.cc')
-rw-r--r-- | src/dev/arm/smmu_v3_cmdexec.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dev/arm/smmu_v3_cmdexec.cc b/src/dev/arm/smmu_v3_cmdexec.cc index 494c86798..48896bf96 100644 --- a/src/dev/arm/smmu_v3_cmdexec.cc +++ b/src/dev/arm/smmu_v3_cmdexec.cc @@ -56,8 +56,7 @@ SMMUCommandExecProcess::main(Yield &yield) busy = true; while (true) { - int sizeMask = - mask(smmu.regs.cmdq_base & Q_BASE_SIZE_MASK) & Q_CONS_PROD_MASK; + int sizeMask = mask(smmu.regs.cmdq_base & Q_BASE_SIZE_MASK); if ((smmu.regs.cmdq_cons & sizeMask) == (smmu.regs.cmdq_prod & sizeMask)) |