ppc/pnv: Improve macro parenthesization
commit5261158d21994d38e9e5cf3305691614fc2b1e09
authorEric Blake <eblake@redhat.com>
Tue, 19 Sep 2017 14:16:03 +0000 (19 09:16 -0500)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 27 Sep 2017 03:05:41 +0000 (27 13:05 +1000)
treee752aac47daac7696d69e7b6ef8a1d73e18d7c48
parent332f7721cbee06d3720d4e2827c10a8b84d8ec19
ppc/pnv: Improve macro parenthesization

Although none of the existing macro call-sites were broken,
it's always better to write macros that properly parenthesize
arguments that can be complex expressions, so that the intended
order of operations is not broken.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
include/hw/ppc/pnv_xscom.h