Skip to content

Commit b968a08

Browse files
melverIngo Molnar
authored andcommitted
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 <[email protected]> Signed-off-by: Marco Elver <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
1 parent f0f6928 commit b968a08

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

include/linux/compiler.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,6 @@ unsigned long read_word_at_a_time(const void *addr)
313313
__u.__val; \
314314
})
315315

316-
#include <linux/kcsan.h>
317-
318316
/**
319317
* data_race - mark an expression as containing intentional data races
320318
*

include/linux/seqlock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#include <linux/preempt.h>
3838
#include <linux/lockdep.h>
3939
#include <linux/compiler.h>
40-
#include <linux/kcsan.h>
40+
#include <linux/kcsan-checks.h>
4141
#include <asm/processor.h>
4242

4343
/*

0 commit comments

Comments
 (0)