commit | c47d6a04e6ed22ccc5d89aaf2a136bf4971de310 | [log] [tgz] |
---|---|---|
author | Mark Rutland <mark.rutland@arm.com> | Tue Apr 30 11:11:15 2013 +0100 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Tue Apr 30 15:53:01 2013 +0100 |
tree | 93e33762f824a13ff3a9abdee0fb499db0d1dfc9 | |
parent | 1ae90e79051318c34d5a75c2ef5b9a55bd22f2ed [diff] |
arm64: klib: bitops: fix unpredictable stxr usage We're currently relying on unpredictable behaviour in our testops (test_and_*_bit), as stxr is unpredictable when the status register and the source register are the same This patch changes reallocates the status register so as to bring us back into the realm of predictable behaviour. Boot tested on an AEMv8 model. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>