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
..
2012-11-30 07:15:04 -07:00
2015-11-12 13:19:03 -05:00
2012-11-04 11:00:34 -07:00
2015-12-07 00:15:00 +01:00
2013-07-24 09:44:38 -04:00
2016-01-19 08:31:21 -05:00
2015-11-05 10:52:34 -05:00
2013-07-24 09:44:38 -04:00
2016-01-25 10:39:59 -05:00
2015-11-05 16:46:59 -05:00
2014-09-16 12:23:57 -04:00
2014-09-16 12:23:57 -04:00
2014-09-16 12:23:57 -04:00
2015-02-11 19:43:45 -05:00
2014-09-24 18:30:29 -04:00
2014-09-16 12:23:57 -04:00
2014-09-16 12:23:57 -04:00
2011-01-18 23:38:08 +01:00
2014-01-08 17:20:34 -07:00
2008-12-16 01:02:17 +01:00
2011-10-17 22:25:34 +02:00
2015-05-13 09:24:12 -07:00
2016-01-19 08:31:21 -05:00
2014-08-25 17:02:33 -04:00
2013-06-24 19:11:13 -05:00
2014-03-05 12:23:48 +01:00
2015-04-21 10:19:19 -07:00
2016-01-19 08:31:21 -05:00
2015-05-28 08:18:19 -04:00
2010-05-06 00:17:01 +02:00
2010-05-06 00:17:01 +02:00
2014-09-09 13:51:54 +02:00
2015-08-18 13:46:00 -04:00
2014-11-25 06:33:58 -07:00
2015-03-05 20:49:43 -05:00
2012-12-13 11:46:07 -07:00
2014-08-25 17:02:33 -04:00
2008-09-13 02:23:05 +02:00
2015-11-05 10:51:53 -05:00
2009-12-05 01:30:23 +01:00
2009-03-20 22:39:15 +01:00
2014-10-23 09:59:20 -04:00
2009-08-25 12:57:55 +02:00
2011-09-11 21:24:09 +02:00
2013-06-24 19:11:13 -05:00
2013-07-24 09:44:38 -04:00
2008-08-31 04:24:51 +02:00
2001-04-28 17:59:11 +00:00
2016-01-19 22:25:37 +00:00
2014-08-25 17:02:33 -04:00
2014-09-16 12:23:56 -04:00
2010-05-06 00:17:01 +02:00
2014-10-26 22:22:09 +01:00
2014-03-04 12:15:01 -05:00
2010-04-02 12:28:40 -04:00
2012-11-04 11:00:34 -07:00
2014-12-11 13:18:41 -07:00
2012-10-15 11:53:47 -07:00
2002-03-08 21:31:05 +00:00
2015-12-16 07:11:15 -05:00