summaryrefslogtreecommitdiffstats
path: root/tools/objtool
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2020-04-24 17:47:29 +0200
committerPaul E. McKenney <paulmck@kernel.org>2020-05-06 10:58:46 -0700
commit19acd03d95dad1f50d06f28179a1866fca431fed (patch)
tree1f451d663d7d1898ab8dca276e893fd880999d00 /tools/objtool
parent5099a722e9727fe9a93fac51e961735f40e5b6c8 (diff)
downloadlinux-19acd03d95dad1f50d06f28179a1866fca431fed.tar.gz
linux-19acd03d95dad1f50d06f28179a1866fca431fed.tar.bz2
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 'tools/objtool')
0 files changed, 0 insertions, 0 deletions