u-boot/fs/ubifs
Masahiro Yamada cba1da495d include: move various macros to include/linux/kernel.h
U-Boot has imported various utility macros from Linux
scattering them to various places without consistency.

In include/common.h are min, max, min3, max3, ARRAY_SIZE, ALIGN,
container_of, DIV_ROUND_UP, etc.
In include/linux/compat.h are min_t, max_t, round_up, round_down,
etc.
We also have duplicated defines of min_t in some *.c files.

Moreover, we are suffering from too cluttered include/common.h.

This commit moves various macros that originate in
include/linux/kernel.h of Linux to their original position.

Note:
This commit simply moves the macros; the macros roundup,
min, max, min2, max3, ARRAY_SIZE are different
from those of Linux at this point.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-11-20 11:28:25 -05:00
..
budget.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
crc16.c UBIFS: Implement read-only UBIFS support in U-Boot 2009-03-20 22:39:15 +01:00
crc16.h Update CHANGELOG, coding style cleanup. 2009-04-05 00:27:57 +02:00
debug.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
debug.h kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
io.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
key.h mtd, ubi, ubifs: resync with Linux-3.14 2014-08-25 19:25:55 -04:00
log.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
lprops.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
lpt.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
lpt_commit.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
Makefile arm: Switch to -mno-unaligned-access when supported by the compiler 2014-02-26 21:19:32 +01:00
master.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
misc.h kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
orphan.c mtd, ubi, ubifs: resync with Linux-3.14 2014-08-25 19:25:55 -04:00
recovery.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
replay.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
sb.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
scan.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
super.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
tnc.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
tnc_misc.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
ubifs-media.h mtd, ubi, ubifs: resync with Linux-3.14 2014-08-25 19:25:55 -04:00
ubifs.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
ubifs.h include: move various macros to include/linux/kernel.h 2014-11-20 11:28:25 -05:00