mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 08:31:13 +00:00
Merge branch 'kcsan-for-tip' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into locking/kcsan
Pull KCSAN updates from Paul McKenney.
This commit is contained in:
commit
97a9474aeb
13 changed files with 883 additions and 401 deletions
|
@ -326,9 +326,9 @@ unsigned long read_word_at_a_time(const void *addr)
|
|||
#define data_race(expr) \
|
||||
({ \
|
||||
typeof(({ expr; })) __val; \
|
||||
kcsan_nestable_atomic_begin(); \
|
||||
kcsan_disable_current(); \
|
||||
__val = ({ expr; }); \
|
||||
kcsan_nestable_atomic_end(); \
|
||||
kcsan_enable_current(); \
|
||||
__val; \
|
||||
})
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue