cpu: Remove assert causing issues with x86 Linux boot
authorGiacomo Gabrielli <giacomo.gabrielli@arm.com>
Thu, 23 May 2019 13:00:24 +0000 (14:00 +0100)
committerGiacomo Gabrielli <giacomo.gabrielli@arm.com>
Tue, 28 May 2019 08:17:49 +0000 (08:17 +0000)
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>
src/cpu/simple/atomic.cc

index c5b024532cd2b7b021b52fd594b4e5d265e1e019..5fc1d69a9df0abb86e58fea16857440518ee82df 100644 (file)
@@ -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;
             }