diff options
author | Marco Elver <elver@google.com> | 2020-04-24 17:47:30 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-05-06 13:47:06 -0700 |
commit | 50a19ad4b1ec531eb550183cb5d4ab9f25a56bf8 (patch) | |
tree | 6cb161a1ec0a47cd236ba4a6da45e68ff8803c24 /tools/objtool | |
parent | 19acd03d95dad1f50d06f28179a1866fca431fed (diff) |
objtool, kcsan: Add kcsan_disable_current() and kcsan_enable_current_nowarn()
Both are safe to be called from uaccess contexts.
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/objtool')
-rw-r--r-- | tools/objtool/check.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/objtool/check.c b/tools/objtool/check.c index b6a573d56f2e..9122c20f5298 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c @@ -472,6 +472,8 @@ static const char *uaccess_safe_builtin[] = { "kcsan_found_watchpoint", "kcsan_setup_watchpoint", "kcsan_check_scoped_accesses", + "kcsan_disable_current", + "kcsan_enable_current_nowarn", /* KCSAN/TSAN */ "__tsan_func_entry", "__tsan_func_exit", |