diff options
| author | Thomas Gleixner <[email protected]> | 2020-12-16 04:42:29 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-12-16 06:46:15 +0000 |
| commit | 4083a281e310dc4ff7214d9da6264949b85f20c4 (patch) | |
| tree | d6e425431047032f250fb4ccac16cc2b23f552ae /fs/proc/proc_net.c | |
| parent | mm/memory_hotplug: quieting offline operation (diff) | |
| download | kernel-4083a281e310dc4ff7214d9da6264949b85f20c4.tar.gz kernel-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/[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 'fs/proc/proc_net.c')
0 files changed, 0 insertions, 0 deletions
