target/ppc: introduce the PPC_BIT() macro
commit2a83f9976efa9a85e8ceb9d1035a68f25c321334
authorCédric Le Goater <clg@kaod.org>
Wed, 6 Dec 2017 09:41:50 +0000 (6 10:41 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 14 Dec 2017 22:49:24 +0000 (15 09:49 +1100)
treee03944d26b713ff94474b28761ca213b0cc3e9a0
parent638f2caa01eb1ec2c4acf4f43798bea465a7eeb5
target/ppc: introduce the PPC_BIT() macro

and use them in a couple of obvious places. Other macros will be used
in the model of the XIVE interrupt controller.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/cpu.h