summaryrefslogtreecommitdiffstats
path: root/include/exec/cpu_ldst_template.h
diff options
context:
space:
mode:
authorLaurent Vivier2016-05-31 18:35:53 +0200
committerMichael Tokarev2016-06-07 17:19:24 +0200
commitc41a73ffaf40aadc2c1e038ae4d12b62cd578e7f (patch)
tree04c3d19dc758f1d2318ab1dacfca59af41997cdd /include/exec/cpu_ldst_template.h
parentqcow/qcow2: Use DIV_ROUND_UP (diff)
downloadqemu-c41a73ffaf40aadc2c1e038ae4d12b62cd578e7f.tar.gz
qemu-c41a73ffaf40aadc2c1e038ae4d12b62cd578e7f.tar.xz
qemu-c41a73ffaf40aadc2c1e038ae4d12b62cd578e7f.zip
qed: 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/cpu_ldst_template.h')
0 files changed, 0 insertions, 0 deletions