summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGiacomo Gabrielli <giacomo.gabrielli@arm.com>2019-05-23 14:00:24 +0100
committerGiacomo Gabrielli <giacomo.gabrielli@arm.com>2019-05-28 08:17:49 +0000
commitf318dfec10cc8a027a2365acce377a55cb9de5e8 (patch)
tree1ff1e68a4e57cecafeccd4979e767f3b96dd41cf /src
parent8529cdad6bb6d6aceb2e12e785607f0d409c0d76 (diff)
downloadgem5-f318dfec10cc8a027a2365acce377a55cb9de5e8.tar.xz
cpu: Remove assert causing issues with x86 Linux boot
Change-Id: I5e0b189ced0dd59ac6dbbb2c498c068e132b9b93 Signed-off-by: Giacomo Gabrielli <giacomo.gabrielli@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18910 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/cpu/simple/atomic.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cpu/simple/atomic.cc b/src/cpu/simple/atomic.cc
index c5b024532..5fc1d69a9 100644
--- a/src/cpu/simple/atomic.cc
+++ b/src/cpu/simple/atomic.cc
@@ -541,7 +541,6 @@ AtomicSimpleCPU::writeMem(uint8_t *data, unsigned size, Addr addr,
{
if (req->isLockedRMW() && fault == NoFault) {
assert(byteEnable.empty());
- assert(locked && curr_frag_id == 0);
locked = false;
}