Merge tag 'compiler-attributes-for-linus-4.20-rc1' of https://github.com/ojeda/linux
Pull compiler attribute updates from Miguel Ojeda: "This is an effort to disentangle the include/linux/compiler*.h headers and bring them up to date. The main idea behind the series is to use feature checking macros (i.e. __has_attribute) instead of compiler version checks (e.g. GCC_VERSION), which are compiler-agnostic (so they can be shared, reducing the size of compiler-specific headers) and version-agnostic. Other related improvements have been performed in the headers as well, which on top of the use of __has_attribute it has amounted to a significant simplification of these headers (e.g. GCC_VERSION is now only guarding a few non-attribute macros). This series should also help the efforts to support compiling the kernel with clang and icc. A fair amount of documentation and comments have also been added, clarified or removed; and the headers are now more readable, which should help kern...
Showing
- Documentation/process/index.rst 1 addition, 0 deletionsDocumentation/process/index.rst
- Documentation/process/programming-language.rst 45 additions, 0 deletionsDocumentation/process/programming-language.rst
- MAINTAINERS 5 additions, 0 deletionsMAINTAINERS
- drivers/auxdisplay/panel.c 3 additions, 4 deletionsdrivers/auxdisplay/panel.c
- fs/ext4/ext4.h 0 additions, 9 deletionsfs/ext4/ext4.h
- include/linux/compiler-clang.h 0 additions, 5 deletionsinclude/linux/compiler-clang.h
- include/linux/compiler-gcc.h 7 additions, 68 deletionsinclude/linux/compiler-gcc.h
- include/linux/compiler-intel.h 0 additions, 9 deletionsinclude/linux/compiler-intel.h
- include/linux/compiler.h 13 additions, 11 deletionsinclude/linux/compiler.h
- include/linux/compiler_attributes.h 258 additions, 0 deletionsinclude/linux/compiler_attributes.h
- include/linux/compiler_types.h 15 additions, 85 deletionsinclude/linux/compiler_types.h
- scripts/Makefile.extrawarn 1 addition, 0 deletionsscripts/Makefile.extrawarn
Please register or sign in to comment