]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
compiler.h, seqlock.h: Remove unnecessary kcsan.h includes
authorMarco Elver <elver@google.com>
Tue, 11 Feb 2020 16:04:20 +0000 (17:04 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 21 Mar 2020 08:43:57 +0000 (09:43 +0100)
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>
include/linux/compiler.h
include/linux/seqlock.h

index c1bdf37571cb8f108ed81ce632c7976e3f2f7c73..f504edebd5d7156f745e539217b0bf4419b9bbc6 100644 (file)
@@ -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
  *
index 239701cae3764f9e5484f15e70387133532190a7..8b97204f35a77e285c56914f6125ec89dfe13d54 100644 (file)
@@ -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>
 
 /*