summaryrefslogtreecommitdiffstats
path: root/util/coroutine-gthread.c
diff options
context:
space:
mode:
authorLaurent Vivier2016-05-31 18:36:02 +0200
committerMichael Tokarev2016-06-07 17:19:25 +0200
commitb1b2db29bd6c3ed70c29778d8fec0f4bf6ae28ec (patch)
treec8af484d859a7ca88b29eaf304d8867ab6851fb5 /util/coroutine-gthread.c
parentslirp: Use DIV_ROUND_UP (diff)
downloadqemu-b1b2db29bd6c3ed70c29778d8fec0f4bf6ae28ec.tar.gz
qemu-b1b2db29bd6c3ed70c29778d8fec0f4bf6ae28ec.tar.xz
qemu-b1b2db29bd6c3ed70c29778d8fec0f4bf6ae28ec.zip
linux-user: 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: Riku Voipio <riku.voipio@iki.fi> 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