diff options
author | Laurent Vivier <lvivier@redhat.com> | 2016-05-31 18:36:04 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2016-06-07 18:19:25 +0300 |
commit | 5029b969d1475fad8f294be6edaa66d280df3039 (patch) | |
tree | 9a20363471fe97fe20c730f3038de32f1d038a21 /tests | |
parent | b1b2db29bd6c3ed70c29778d8fec0f4bf6ae28ec (diff) |
qemu-timer: 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>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions