target/arm: Always clear exclusive monitor on reset
commit4a888072c869a2f5ea26af43733490ff2c2ff1b9
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Sep 2021 08:54:33 +0000 (20 09:54 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Sep 2021 08:54:33 +0000 (20 09:54 +0100)
tree9f9443618d82771420df058aac70616e1a6b91f7
parentb62ceeaf8096fdbbbfdc6087da0028bc4a4dd77e
target/arm: Always clear exclusive monitor on reset

There's no particular reason why the exclusive monitor should
be only cleared on reset in system emulation mode. It doesn't
hurt if it isn't cleared in user mode, but we might as well
reduce the amount of code we have that's inside an ifdef.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210914120725.24992-3-peter.maydell@linaro.org
target/arm/cpu.c