diff options
author | Marco Elver | 2020-02-11 17:04:20 +0100 |
---|---|---|
committer | Ingo Molnar | 2020-03-21 09:43:57 +0100 |
commit | b968a08f242d51982e46041c506115b5e11a7570 (patch) | |
tree | 85a1f14188db89a6be22fdfb58e31d4e4e97f5f6 | |
parent | f0f6928c2c4c19ab6171d4f468f542fac1888a8f (diff) |
compiler.h, seqlock.h: Remove unnecessary kcsan.h includes
No we longer have to include kcsan.h, since the required KCSAN interface
for both compiler.h and seqlock.h are now provided by kcsan-checks.h.
Acked-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | include/linux/compiler.h | 2 | ||||
-rw-r--r-- | include/linux/seqlock.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h index c1bdf37571cb..f504edebd5d7 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h @@ -313,8 +313,6 @@ unsigned long read_word_at_a_time(const void *addr) __u.__val; \ }) -#include <linux/kcsan.h> - /** * data_race - mark an expression as containing intentional data races * diff --git a/include/linux/seqlock.h b/include/linux/seqlock.h index 239701cae376..8b97204f35a7 100644 --- a/include/linux/seqlock.h +++ b/include/linux/seqlock.h @@ -37,7 +37,7 @@ #include <linux/preempt.h> #include <linux/lockdep.h> #include <linux/compiler.h> -#include <linux/kcsan.h> +#include <linux/kcsan-checks.h> #include <asm/processor.h> /* |