diff options
author | Marco Elver <elver@google.com> | 2020-04-24 17:47:29 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-05-06 19:58:46 +0200 |
commit | 19acd03d95dad1f50d06f28179a1866fca431fed (patch) | |
tree | 1f451d663d7d1898ab8dca276e893fd880999d00 /block/blk-integrity.c | |
parent | checkpatch: Warn about data_race() without comment (diff) | |
download | linux-19acd03d95dad1f50d06f28179a1866fca431fed.tar.xz linux-19acd03d95dad1f50d06f28179a1866fca431fed.zip |
kcsan: Add __kcsan_{enable,disable}_current() variants
The __kcsan_{enable,disable}_current() variants only call into KCSAN if
KCSAN is enabled for the current compilation unit. Note: This is
typically not what we want, as we usually want to ensure that even calls
into other functions still have KCSAN disabled.
These variants may safely be used in header files that are shared
between regular kernel code and code that does not link the KCSAN
runtime.
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'block/blk-integrity.c')
0 files changed, 0 insertions, 0 deletions