Masahiro Yamada 84b8bf6d5d bug.h: move BUILD_BUG_* defines to include/linux/bug.h
BUILD_BUG_* macros have been defined in several headers.  It would
be nice to collect them in include/linux/bug.h like Linux.

This commit is cherry-picking useful macros from include/linux/bug.h
of Linux 4.4.

I did not import BUILD_BUG_ON_MSG() because it would not work if it
is used with include/common.h in U-Boot.  I'd like to postpone it
until the root cause (the "error()" macro in include/common.h causes
the name conflict with "__attribute__((error()))") is fixed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
2016-01-25 10:39:59 -05:00
..
2016-01-24 12:09:39 +08:00
2016-01-19 08:31:21 -05:00
2014-07-30 08:48:03 -04:00
2016-01-12 10:19:09 -07:00
2015-05-05 20:58:20 -06:00
2015-06-10 19:26:54 -06:00
2016-01-20 19:06:23 -07:00
2016-01-13 21:05:25 -05:00
2015-11-19 20:27:50 -07:00
2014-06-21 10:06:58 -06:00
2016-01-19 08:31:21 -05:00
2015-04-10 14:23:23 +02:00
2015-08-05 08:42:41 -06:00
2015-08-05 08:44:07 -06:00
2015-11-12 13:18:58 -05:00
2015-01-21 10:25:02 +01:00
2016-01-19 08:31:21 -05:00
2015-08-25 22:53:57 -05:00
2015-07-22 08:57:54 +02:00
2014-12-11 13:18:43 -07:00
2015-11-19 20:13:41 -07:00
2014-05-28 10:58:19 +09:00
2014-06-20 11:54:29 -06:00
2015-09-02 15:26:12 +02:00
2016-01-13 21:05:19 -05:00
2016-01-20 10:19:40 -05:00
2013-11-09 17:21:01 +01:00
2015-11-12 08:26:58 +08:00
2015-01-06 10:10:04 +02:00
2016-01-19 08:31:21 -05:00
2015-12-07 10:14:22 +01:00
2015-06-04 03:34:47 -06:00
2016-01-21 20:42:36 -07:00
2016-01-24 12:07:17 +08:00
2016-01-24 12:07:17 +08:00
2015-01-05 12:08:55 -05:00
2016-01-21 20:42:36 -07:00
2016-01-21 20:42:34 -07:00
2015-07-21 17:39:27 -06:00
2015-07-21 17:39:28 -06:00
2014-11-24 12:00:00 +01:00
2016-01-13 18:47:27 +05:30
2015-11-05 08:24:42 +01:00
2015-07-26 12:11:33 +02:00
2013-12-04 08:11:28 -05:00
2016-01-07 10:27:07 -07:00
2016-01-25 10:39:47 -05:00
2015-01-21 10:25:53 +01:00