diff options
| author | Linus Torvalds <[email protected]> | 2017-06-11 22:51:56 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-06-11 22:51:56 +0000 |
| commit | 6d53cefb18e4646fb4bf62ccb6098fb3808486df (patch) | |
| tree | 6e0db894dc3861cb6119a3a22d3add8f692f75ec /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | Merge tag 'random_for_linus_stable' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
| download | kernel-6d53cefb18e4646fb4bf62ccb6098fb3808486df.tar.gz kernel-6d53cefb18e4646fb4bf62ccb6098fb3808486df.zip | |
compiler, clang: properly override 'inline' for clang
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 <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
