1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 00:32:04 +02:00
Files
u-boot-megous/include
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
..
2014-10-27 14:35:55 +01:00
2014-11-07 16:32:02 +01:00
2014-07-30 08:48:03 -04:00
2014-07-18 19:42:16 +01:00
2014-07-18 19:42:10 +01:00
2014-11-13 14:49:01 +01:00
2014-10-27 14:35:55 +01:00
2014-06-21 10:06:58 -06:00
2014-10-06 17:34:40 +02:00
2014-10-25 15:27:36 -04:00
2014-08-09 11:16:57 -04:00
2014-08-09 11:16:57 -04:00
2014-10-23 06:54:03 -04:00
2014-11-19 08:48:41 +01:00
2014-08-09 11:16:57 -04:00
2014-11-19 08:48:42 +01:00
2014-06-19 11:18:55 -04:00
2014-10-25 15:27:37 -04:00
2014-06-20 11:54:29 -06:00
2014-10-22 16:56:41 -06:00
2014-10-25 15:27:37 -04:00
2014-05-30 14:03:24 -04:00
2014-08-01 18:44:56 +03:00
2014-10-27 14:35:55 +01:00
2014-10-22 10:36:50 -06:00
2014-10-22 10:36:46 -06:00
2014-10-27 14:35:55 +01:00
2014-06-11 16:27:06 -04:00