Skip to content
Snippets Groups Projects
Commit 9e57a1c3 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini
Browse files

include/common.h: remove DIV_ROUND definition


All the references of DIV_ROUND have been replaced with
DIV_ROUND_CLOSEST.  Remove DIV_ROUND.

Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
parent 4515992f
No related branches found
No related tags found
No related merge requests found
......@@ -950,7 +950,6 @@ static inline phys_addr_t map_to_sysmem(const void *ptr)
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
#define ROUND(a,b) (((a) + (b) - 1) & ~((b) - 1))
#define DIV_ROUND(n,d) (((n) + ((d)/2)) / (d))
#define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
#define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment