diff options
author | Laurent Vivier <lvivier@redhat.com> | 2016-05-31 18:36:02 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2016-06-07 18:19:25 +0300 |
commit | b1b2db29bd6c3ed70c29778d8fec0f4bf6ae28ec (patch) | |
tree | c8af484d859a7ca88b29eaf304d8867ab6851fb5 /user-exec.c | |
parent | 806956834a898c0d068f116b58e72b0c5e226840 (diff) |
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 'user-exec.c')
0 files changed, 0 insertions, 0 deletions