mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
common: Move ROUND() into kernel.h
Move this macro in with all the other rounding macros. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
825faebbdf
commit
6df75135b5
2 changed files with 2 additions and 2 deletions
|
@ -71,8 +71,6 @@
|
|||
|
||||
/* Put only stuff here that the assembler can digest */
|
||||
|
||||
#define ROUND(a,b) (((a) + (b) - 1) & ~((b) - 1))
|
||||
|
||||
/* Pull in stuff for the build system */
|
||||
#ifdef DO_DEPS_ONLY
|
||||
# include <env_internal.h>
|
||||
|
|
|
@ -69,6 +69,8 @@
|
|||
|
||||
#define DIV_ROUND_UP_ULL(ll, d) DIV_ROUND_DOWN_ULL((ll) + (d) - 1, (d))
|
||||
|
||||
#define ROUND(a, b) (((a) + (b) - 1) & ~((b) - 1))
|
||||
|
||||
#if BITS_PER_LONG == 32
|
||||
# define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP_ULL(ll, d)
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue