Skip to content

Commit

Permalink
compiler.h, seqlock.h: Remove unnecessary kcsan.h includes
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Marco Elver <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
melver authored and Ingo Molnar committed Mar 21, 2020
1 parent f0f6928 commit b968a08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions include/linux/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down
2 changes: 1 addition & 1 deletion include/linux/seqlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>

/*
Expand Down

0 comments on commit b968a08

Please sign in to comment.