diff options
author | Laurent Vivier <lvivier@redhat.com> | 2016-05-31 18:36:05 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2016-06-07 18:19:25 +0300 |
commit | 30f549c2f30de65c7cbb30614b838d5478d6221b (patch) | |
tree | 17e9b84cbe1d7a404b6d3c001e4648858529f153 /scripts | |
parent | 5029b969d1475fad8f294be6edaa66d280df3039 (diff) |
hbitmap: Use DIV_ROUND_UP
Replace (((n) + (d) - 1) /(d)) by DIV_ROUND_UP(n,d).
This patch is the result of coccinelle script
scripts/coccinelle/round.cocci
CC: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions