aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2020-12-15 20:42:29 -0800
committerLinus Torvalds <[email protected]>2020-12-15 22:46:15 -0800
commit4083a281e310dc4ff7214d9da6264949b85f20c4 (patch)
treed6e425431047032f250fb4ccac16cc2b23f552ae /lib/test_overflow.c
parent7c33023aad164b9fb8a2291d2674935871ee06f3 (diff)
alpha: replace bogus in_interrupt()
in_interrupt() is true for a variety of things including bottom half disabled regions. Deducing hard interrupt context from it is dubious at best. Use in_irq() which is true if called in hard interrupt context. Otherwise calling irq_exit() would do more harm than good. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Tested-by: Serge Belyshev <[email protected]> Cc: Richard Henderson <[email protected]> Cc: Matt Turner <[email protected]> Cc: Ivan Kokshaysky <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions