https://github.com/torvalds/linux
Revision 6d53cefb18e4646fb4bf62ccb6098fb3808486df authored by Linus Torvalds on 11 June 2017, 22:51:56 UTC, committed by Linus Torvalds on 11 June 2017, 22:51:56 UTC
Commit abb2ea7dfd82 ("compiler, clang: suppress warning for unused
static inline functions") just caused more warnings due to re-defining
the 'inline' macro.

So undef it before re-defining it, and also add the 'notrace' attribute
like the gcc version that this is overriding does.

Maybe this makes clang happier.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 5ad9345
History
Tip revision: 6d53cefb18e4646fb4bf62ccb6098fb3808486df authored by Linus Torvalds on 11 June 2017, 22:51:56 UTC
compiler, clang: properly override 'inline' for clang
Tip revision: 6d53cef
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.3 KB
.mailmap -rw-r--r-- 8.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 96.2 KB
Kbuild -rw-r--r-- 2.2 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 397.7 KB
Makefile -rw-r--r-- 58.6 KB
README -rw-r--r-- 722 bytes

README

back to top