aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorDmitry Vyukov <[email protected]>2017-05-08 22:56:48 +0000
committerLinus Torvalds <[email protected]>2017-05-09 00:15:12 +0000
commitf61e869d519c0c11a8d80a503cfdfb4897df855a (patch)
tree4befe4405314621e224b7118b42632364dc9be52 /lib/fault-inject.c
parenttaskstats: add e/u/stime for TGID command (diff)
downloadkernel-f61e869d519c0c11a8d80a503cfdfb4897df855a.tar.gz
kernel-f61e869d519c0c11a8d80a503cfdfb4897df855a.zip
kcov: simplify interrupt check
in_interrupt() semantics are confusing and wrong for most users as it also returns true when bh is disabled. Thus we open coded a proper check for interrupts in __sanitizer_cov_trace_pc() with a lengthy explanatory comment. Use the new in_task() predicate instead. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Dmitry Vyukov <[email protected]> Cc: Kefeng Wang <[email protected]> Cc: James Morse <[email protected]> Cc: Alexander Popov <[email protected]> Cc: Andrey Konovalov <[email protected]> Cc: Hillf Danton <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions