OSDN Git Service

kvm: use DIV_ROUND_UP
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 22 Jun 2017 11:04:16 +0000 (13:04 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 31 Aug 2017 10:29:07 +0000 (12:29 +0200)
commit206a0fc75d5f54886c1b3f3a65782a75e36b6b97
tree014c639d7e87a7d0924b6d5369c3f0169e86f17e
parent074d5afe7c710c935f5558f23eb8e2b28778e491
kvm: 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>
Reviewed-by: Richard Henderson <rth@twiddle.net>
linux-headers/asm-x86/kvm.h