]> git.proxmox.com Git - mirror_qemu.git/commit
target-arm: Fix bit test in sp_el0_access
authorStefan Weil <sw@weilnetz.de>
Mon, 4 Aug 2014 13:41:55 +0000 (14:41 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Aug 2014 13:41:55 +0000 (14:41 +0100)
commitcdcf14057d780cdbb1f89f8c5fc11a1a9184b5b1
treef01818e17029247279d4e162ce17aa311c261a5f
parent63b60551a7a4846de2f1f41dd37296fa1571d27e
target-arm: Fix bit test in sp_el0_access

Static code analyzers complain about a dubious & operation used for a
boolean value. The code does not test the PSTATE_SP bit as it should.

Cc: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Message-id: 1406359601-25583-1-git-send-email-sw@weilnetz.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/helper.c