summaryrefslogtreecommitdiff
path: root/include/linux/compiler-gcc4.h
Commit message (Collapse)AuthorAgeLines
* compiler*.h: sync include/linux/compiler*.h with Linux 3.16Masahiro Yamada2014-09-16-17/+42
| | | | | | | | Copy them from Linux v3.16 tag. My main motivation of this commit is to add compiler-clang.h. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Jeroen Hofstee <jeroen@myspectrum.nl>
* compiler_gcc: do not redefine __gnu_attributesJeroen Hofstee2013-09-06-1/+3
| | | | | | | | | | | | | | gcc allows extensions to be non compiler specific by defining __* macros for the attributes supported by gcc. Having a different definition causes many warnings during the build (cdefs.h on FreeBSD uses __attribute((__pure__)) where u-boot uses __attribute__((pure)) for example). Do not redefine these macros to suppress these warnings. This patch ignores the checkpatch warning: WARNING: __packed is preferred over __attribute__((packed)) Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
* x86: Fix support for booting bzImageGraeme Russ2010-05-06-0/+61
Add support for newer (up to 2.6.33) kernels Add zboot command which takes the address of a bzImage as its first argument and (optionally) the size of the bzImage as the second argument (the second argument is needed for older kernels which do not include the bzImage size in the header) Signed-off-by: Graeme Russ <graeme.russ@gmail.com>