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-20 11:28:25 -05:00
2014-10-23 21:43:09 -06:00
2014-11-11 16:59:44 -05:00
2014-11-20 11:28:25 -05:00
2014-09-16 12:23:56 -04:00
2014-07-25 15:21:06 -04:00
2014-09-05 13:58:50 +09:00
2014-08-09 11:17:01 -04:00
2014-11-07 16:32:02 +01:00
2014-07-30 08:48:03 -04:00
2014-09-16 12:23:57 -04:00
2014-07-31 15:37:22 +02:00
2014-10-06 17:46:50 +02:00
2014-08-01 20:01:22 +03: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-25 15:27:36 -04:00
2014-10-22 09:03:06 -06:00
2014-10-27 11:03:33 -04:00
2014-08-21 12:01:13 -04:00
2014-10-27 11:03:33 -04:00
2014-11-20 11:28:25 -05:00
2014-10-27 14:35:55 +01:00
2014-10-27 11:04:01 -04:00
2014-09-24 18:30:28 -04:00
2014-10-27 17:54:11 -04:00
2014-10-23 13:18:59 -04:00
2014-07-25 15:21:05 -04:00
2014-10-22 10:36:53 -06:00
2014-09-02 14:29:28 +02: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-07-18 17:53:23 -04:00
2014-08-01 20:12:15 +03:00
2014-08-09 11:16:57 -04:00
2014-08-09 11:16:57 -04:00
2014-09-24 18:30:27 -04:00
2014-10-25 15:27:36 -04:00
2014-10-23 06:54:03 -04:00
2014-11-19 08:48:41 +01:00
2014-09-08 10:30:33 -07:00
2014-08-09 11:16:57 -04:00
2014-09-08 10:30:35 -07:00
2014-09-25 08:36:18 -07:00
2014-09-25 08:36:18 -07:00
2014-09-08 10:30:33 -07:00
2014-07-22 16:25:54 -07:00
2014-07-03 08:40:58 +02:00
2014-09-08 10:30:33 -07:00
2014-10-16 14:20:40 -07:00
2014-11-19 08:48:42 +01:00
2014-06-19 11:18:55 -04:00
2014-07-23 14:07:23 +01:00
2014-10-25 15:27:37 -04:00
2014-10-28 20:44:04 -06:00
2014-10-27 11:04:01 -04:00
2014-06-20 11:54:29 -06:00
2014-11-12 13:02:22 -05:00
2014-10-22 16:56:41 -06:00
2014-10-22 10:36:53 -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-11-17 08:47:17 -05:00
2014-10-10 09:44:43 -04:00
2014-10-23 09:59:21 -04:00
2014-10-23 19:29:07 -06:00
2014-06-05 14:44:56 -04:00
2014-10-28 07:13:56 -04:00
2014-09-09 16:15:02 +02:00
2014-10-27 14:35:55 +01:00
2014-10-23 09:59:21 -04:00
2014-07-22 16:25:54 -07:00
2014-08-09 11:16:57 -04:00
2014-09-09 15:32:32 +02:00
2014-07-22 07:44:26 -04:00
2014-11-04 15:01:11 -05:00
2014-11-13 08:47:58 +09:00
2014-09-16 12:23:57 -04:00
2014-08-21 12:01:29 -04:00
2014-10-22 10:36:50 -06:00
2014-10-22 10:36:46 -06:00
2014-11-17 08:47:17 -05:00
2014-10-27 14:35:55 +01:00
2014-10-06 14:50:43 +02:00
2014-10-27 11:04:01 -04:00
2014-09-10 10:26:58 +02:00
2014-06-11 16:27:06 -04:00
2014-09-08 10:30:35 -07:00
2014-11-05 11:57:04 -05:00
2014-11-19 07:54:40 +01:00
2014-11-07 16:32:02 +01:00
2014-07-23 14:07:23 +01:00
2014-08-07 15:15:19 +08:00