diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-06-02 17:04:03 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-06-15 14:10:08 +0200 |
commit | e79302ae8c8cceb51cf642d5ace9da02668cb7b4 (patch) | |
tree | b1cd14b8163c65658d46b0f2a30ae479bd71ed9b /include | |
parent | x86, kcsan: Remove __no_kcsan_or_inline usage (diff) | |
download | linux-e79302ae8c8cceb51cf642d5ace9da02668cb7b4.tar.xz linux-e79302ae8c8cceb51cf642d5ace9da02668cb7b4.zip |
kcsan: Remove __no_kcsan_or_inline
There are no more user of this function attribute, also, with us now
actively supporting '__no_kcsan inline' it doesn't make sense to have
in any case.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/compiler_types.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/compiler_types.h b/include/linux/compiler_types.h index 21aed0981edf..938249809511 100644 --- a/include/linux/compiler_types.h +++ b/include/linux/compiler_types.h @@ -193,10 +193,7 @@ struct ftrace_likely_data { #define __no_kcsan __no_sanitize_thread #ifdef __SANITIZE_THREAD__ -# define __no_kcsan_or_inline __no_kcsan notrace __maybe_unused -# define __no_sanitize_or_inline __no_kcsan_or_inline -#else -# define __no_kcsan_or_inline __always_inline +# define __no_sanitize_or_inline __no_kcsan notrace __maybe_unused #endif #ifndef __no_sanitize_or_inline |