kcsan: Move interfaces that affects checks to kcsan-checks.h
authorMarco Elver <elver@google.com>
Tue, 11 Feb 2020 16:04:19 +0000 (17:04 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 21 Mar 2020 08:43:47 +0000 (09:43 +0100)
commitf0f6928c2c4c19ab6171d4f468f542fac1888a8f
tree5de365488a803cb53a42fffa0a9cfb43c5e7acbb
parent3a5b45e5031fa395ab6e53545fb726b2d5b104f0
kcsan: Move interfaces that affects checks to kcsan-checks.h

This moves functions that affect state changing the behaviour of
kcsan_check_access() to kcsan-checks.h. Since these are likely used with
kcsan_check_access() it makes more sense to have them in kcsan-checks.h,
to avoid including all of 'include/linux/kcsan.h'.

No functional change intended.

Acked-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/kcsan-checks.h
include/linux/kcsan.h