diff options
author | 2020-12-15 20:42:29 -0800 | |
---|---|---|
committer | 2020-12-15 22:46:15 -0800 | |
commit | 4083a281e310dc4ff7214d9da6264949b85f20c4 (patch) | |
tree | d6e425431047032f250fb4ccac16cc2b23f552ae /scripts/gdb/linux/utils.py | |
parent | mm/memory_hotplug: quieting offline operation (diff) | |
download | linux-dev-4083a281e310dc4ff7214d9da6264949b85f20c4.tar.xz linux-dev-4083a281e310dc4ff7214d9da6264949b85f20c4.zip |
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/20201113135832.2202833-1-bigeasy@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Tested-by: Serge Belyshev <belyshev@depni.sinp.msu.ru>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Matt Turner <mattst88@gmail.com>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions