kvm: simplify kvm_align_section()
commita6ffc4232ab649ea91bd951f8c4f9cc598a66fd6
authorDavid Hildenbrand <david@redhat.com>
Mon, 16 Oct 2017 14:43:01 +0000 (16 16:43 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Oct 2017 08:15:00 +0000 (18 10:15 +0200)
tree20167f7507eabdc6ac72ade1ccfa8d042328c1ec
parent90ed4bcc3a15749c3c341e2a684f8f84e2251b67
kvm: simplify kvm_align_section()

Use ROUND_UP and simplify the code a bit.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20171016144302.24284-7-david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/kvm/kvm-all.c