From: Giacomo Gabrielli Date: Thu, 23 May 2019 13:00:24 +0000 (+0100) Subject: cpu: Remove assert causing issues with x86 Linux boot X-Git-Tag: v19.0.0.0~816 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f318dfec10cc8a027a2365acce377a55cb9de5e8;p=gem5.git cpu: Remove assert causing issues with x86 Linux boot Change-Id: I5e0b189ced0dd59ac6dbbb2c498c068e132b9b93 Signed-off-by: Giacomo Gabrielli Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18910 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- 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; }