target/ppc: fix REQUIRE_HV macro definition
The macro is missing a '{' after the if condition. Any use of REQUIRE_HV would cause a compilation error. Fixes: fc34e81acd51 ("target/ppc: add macros to check privilege level") Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br> Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com> Message-Id: <20221006200654.725390-4-matheus.ferst@eldorado.org.br> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
9d950c7241
commit
e8db3cc76e
@ -6547,7 +6547,7 @@ static int64_t dw_compose_ea(DisasContext *ctx, int x)
|
||||
|
||||
#define REQUIRE_HV(CTX) \
|
||||
do { \
|
||||
if (unlikely((CTX)->pr || !(CTX)->hv)) \
|
||||
if (unlikely((CTX)->pr || !(CTX)->hv)) { \
|
||||
gen_priv_opc(CTX); \
|
||||
return true; \
|
||||
} \
|
||||
|
Loading…
x
Reference in New Issue
Block a user