diff options
| author | Dmitry Vyukov <[email protected]> | 2017-05-08 22:56:48 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-05-09 00:15:12 +0000 |
| commit | f61e869d519c0c11a8d80a503cfdfb4897df855a (patch) | |
| tree | 4befe4405314621e224b7118b42632364dc9be52 /lib/fault-inject.c | |
| parent | taskstats: add e/u/stime for TGID command (diff) | |
| download | kernel-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
