OSDN Git Service

target/ppc: fix REQUIRE_HV macro definition
authorMatheus Ferst <matheus.ferst@eldorado.org.br>
Thu, 6 Oct 2022 20:06:51 +0000 (17:06 -0300)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 28 Oct 2022 16:15:21 +0000 (13:15 -0300)
commite8db3cc76e9555c482ee92743bcf3560e25b1424
tree85da9bd3ef86d3377b8c883856b19953331d0f5a
parent9d950c724144770d9d092f70716da0da022926de
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>
target/ppc/translate.c