linux/arch
Thomas Gleixner 4083a281e3 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>
2020-12-15 22:46:15 -08:00
..
alpha alpha: replace bogus in_interrupt() 2020-12-15 22:46:15 -08:00
arc Merge branch 'akpm' (patches from Andrew) 2020-12-15 12:53:37 -08:00
arm Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2020-12-15 16:18:23 -08:00
arm64 Generic interrupt and irqchips subsystem: 2020-12-15 15:03:31 -08:00
c6x arch-cleanup-2020-10-22 2020-10-23 10:06:38 -07:00
csky The new preemtible kmap_local() implementation: 2020-12-14 18:35:53 -08:00
h8300 arm64 updates for 5.11: 2020-12-14 16:24:30 -08:00
hexagon sched/idle: Fix arch_cpu_idle() vs tracing 2020-11-24 16:47:35 +01:00
ia64 Generic interrupt and irqchips subsystem: 2020-12-15 15:03:31 -08:00
m68k Merge branch 'akpm' (patches from Andrew) 2020-12-15 12:53:37 -08:00
microblaze The new preemtible kmap_local() implementation: 2020-12-14 18:35:53 -08:00
mips Staging / IIO driver patches for 5.11-rc1 2020-12-15 14:18:40 -08:00
nds32 Merge branch 'akpm' (patches from Andrew) 2020-12-15 12:53:37 -08:00
nios2 sched/idle: Fix arch_cpu_idle() vs tracing 2020-11-24 16:47:35 +01:00
openrisc The new preemtible kmap_local() implementation: 2020-12-14 18:35:53 -08:00
parisc Generic interrupt and irqchips subsystem: 2020-12-15 15:03:31 -08:00
powerpc Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2020-12-15 16:18:23 -08:00
riscv arch, mm: make kernel_page_present() always available 2020-12-15 12:13:43 -08:00
s390 Generic interrupt and irqchips subsystem: 2020-12-15 15:03:31 -08:00
sh Generic interrupt and irqchips subsystem: 2020-12-15 15:03:31 -08:00
sparc Networking updates for 5.11 2020-12-15 13:22:29 -08:00
um Generic interrupt and irqchips subsystem: 2020-12-15 15:03:31 -08:00
x86 Power management updates for 5.11-rc1 2020-12-15 16:30:31 -08:00
xtensa The new preemtible kmap_local() implementation: 2020-12-14 18:35:53 -08:00
.gitignore
Kconfig Generic interrupt and irqchips subsystem: 2020-12-15 15:03:31 -08:00