ppc: use DIV_ROUND_UP
commitf0704d78b42423f6040e224452cee4ee4aff30cc
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 22 Jun 2017 11:04:16 +0000 (22 13:04 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 31 Aug 2017 10:29:07 +0000 (31 12:29 +0200)
tree9e00319bcc7d616cfe9ca40093fcf411d0ec95a2
parent0ef1efcf944fcc950840f068da5513311ee55a6d
ppc: use DIV_ROUND_UP

I used the clang-tidy qemu-round check to generate the fix:
https://github.com/elmarco/clang-tools-extra

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Richard Henderson <rth@twiddle.net>
target/ppc/mem_helper.c
target/ppc/translate.c