u-boot/include/linux
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
..
byteorder
mtd include/linux/mtd: Update copyright notices 2015-11-12 13:19:03 -05:00
unaligned
usb usb: xhci: zynqmp: Removing unused function usb_phy_reset 2015-12-07 00:15:00 +01:00
apm_bios.h
bch.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
bitops.h bitops: Add fls_long and __ffs64 2015-11-05 10:52:34 -05:00
bitrev.h
bug.h bug.h: move BUILD_BUG_* defines to include/linux/bug.h 2016-01-25 10:39:59 -05:00
compat.h compat: Remove is_power_of_2() definition 2015-11-05 16:46:59 -05:00
compiler-clang.h compiler*.h: sync include/linux/compiler*.h with Linux 3.16 2014-09-16 12:23:57 -04:00
compiler-gcc.h compiler_gcc: prevent redefining attributes 2014-09-24 18:30:29 -04:00
compiler-gcc3.h compiler*.h: sync include/linux/compiler*.h with Linux 3.16 2014-09-16 12:23:57 -04:00
compiler-gcc4.h compiler*.h: sync include/linux/compiler*.h with Linux 3.16 2014-09-16 12:23:57 -04:00
compiler-gcc5.h Add linux/compiler-gcc5.h to fix builds with gcc5 2015-02-11 19:43:45 -05:00
compiler-intel.h compiler*.h: sync include/linux/compiler*.h with Linux 3.16 2014-09-16 12:23:57 -04:00
compiler.h compiler*.h: sync include/linux/compiler*.h with Linux 3.16 2014-09-16 12:23:57 -04:00
crc7.h
crc8.h
crc32.h
ctype.h
drm_dp_helper.h tegra124: video: Add full link training for eDP 2015-05-13 09:24:12 -07:00
edd.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
err.h linux include: add ERR_CAST 2014-08-25 17:02:33 -04:00
ethtool.h
fb.h
immap_qe.h QE/DeepSleep: add QE deepsleep support for mpc85xx 2015-04-21 10:19:19 -07:00
input.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
io.h include: introduce include/linux/io.h as a wrapper of asm/io.h 2015-05-28 08:18:19 -04:00
ioctl.h
ioport.h
kbuild.h clang: workaround for generated constants 2014-09-09 13:51:54 +02:00
kconfig.h linux/kconfig.h: add CPP macros useful for per-image config options 2015-08-18 13:46:00 -04:00
kernel.h Fix SIZE_MAX compiler warning when using stdint.h 2014-11-25 06:33:58 -07:00
linkage.h use ASM_NL instead of '; ' for assembler new line character in the macro 2015-03-05 20:49:43 -05:00
linux_string.h
list.h
list_sort.h lib, list_sort: add list_sort from linux 3.14 2014-08-25 17:02:33 -04:00
log2.h include: Add log2 header from the kernel 2015-11-05 10:51:53 -05:00
lzo.h
math64.h
mbus.h arm: mvebu: Add common mbus functions to use on Marvell SoCs 2014-10-23 09:59:20 -04:00
mc146818rtc.h
mdio.h
mii.h
netdevice.h
poison.h
posix_types.h
psci.h armv8: Add psci.h from the Linux kernel 2016-01-19 22:25:37 +00:00
rbtree.h kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
rbtree_augmented.h lib, rbtree: resync with Linux-3.14 2014-08-25 17:02:33 -04:00
screen_info.h
serial_reg.h arm: debug: replace license blocks with SPDX 2014-10-26 22:22:09 +01:00
sizes.h
stat.h
stddef.h
string.h lib: string: move strlcpy() to a common place 2014-12-11 13:18:41 -07:00
stringify.h
time.h
types.h Revert "include/linux: move typdef for uintptr_t" 2015-12-16 07:11:15 -05:00