diff options
| author | Laurent Vivier | 2016-05-31 18:36:04 +0200 |
|---|---|---|
| committer | Michael Tokarev | 2016-06-07 17:19:25 +0200 |
| commit | 5029b969d1475fad8f294be6edaa66d280df3039 (patch) | |
| tree | 9a20363471fe97fe20c730f3038de32f1d038a21 /util/coroutine-gthread.c | |
| parent | linux-user: Use DIV_ROUND_UP (diff) | |
| download | qemu-5029b969d1475fad8f294be6edaa66d280df3039.tar.gz qemu-5029b969d1475fad8f294be6edaa66d280df3039.tar.xz qemu-5029b969d1475fad8f294be6edaa66d280df3039.zip | |
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 'util/coroutine-gthread.c')
0 files changed, 0 insertions, 0 deletions
