target/ppc/cpu.h: Put macro parameter in parentheses

Fix PPC_INPUT macro to work with more complex expressions by
protecting its argument with parentheses.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <20200130021619.65FAB747871@zero.eik.bme.hu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
BALATON Zoltan 2020-01-30 03:06:18 +01:00 committed by David Gibson
parent 37965dfe4d
commit 254581039e

View File

@ -180,7 +180,7 @@ enum {
POWERPC_EXCP_TRAP = 0x40,
};
#define PPC_INPUT(env) (env->bus_model)
#define PPC_INPUT(env) ((env)->bus_model)
/*****************************************************************************/
typedef struct opc_handler_t opc_handler_t;