diff options
| author | Laurent Vivier | 2016-05-31 18:35:51 +0200 |
|---|---|---|
| committer | Michael Tokarev | 2016-06-07 17:19:24 +0200 |
| commit | 969401fe769264239c0f3e928283433b58910a19 (patch) | |
| tree | 1db12c4697256a1c3c49c0d5fadb0984cfd959a7 /include/exec/memattrs.h | |
| parent | coccinelle: use macro DIV_ROUND_UP instead of (((n) + (d) - 1) /(d)) (diff) | |
| download | qemu-969401fe769264239c0f3e928283433b58910a19.tar.gz qemu-969401fe769264239c0f3e928283433b58910a19.tar.xz qemu-969401fe769264239c0f3e928283433b58910a19.zip | |
parallels: 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: qemu-block@nongnu.org
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/exec/memattrs.h')
0 files changed, 0 insertions, 0 deletions
