]> Git Repo - qemu.git/commit
xen: Use DIV_ROUND_UP
authorLaurent Vivier <[email protected]>
Tue, 31 May 2016 16:35:56 +0000 (18:35 +0200)
committerMichael Tokarev <[email protected]>
Tue, 7 Jun 2016 15:19:24 +0000 (18:19 +0300)
commitd0448de7f661070fad1602218f1b7d211e1c2270
tree261f6b33437a52576440ae5e33729470bb59e347
parent207ba7c885c80ddb21a7f2fab8bd053fbc23ac3a
xen: 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: Stefano Stabellini <[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
Reviewed-by: Stefano Stabellini <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
hw/display/xenfb.c
xen-hvm.c
This page took 0.025903 seconds and 4 git commands to generate.