diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-12-02 10:18:49 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-12-02 10:18:49 -0800 |
| commit | 7f8d5f70fffe2177afcc62f02feead5827dfe8dd (patch) | |
| tree | 8375d14b04532154664dc137a15c50d5f9022a50 /include/linux/preempt.h | |
| parent | d42e504a555d0da2a10001e697f0c8a7f633fb05 (diff) | |
| parent | 70e0a80a1f3580ccf5bc1f34dbb433c67d9d8d00 (diff) | |
Merge tag 'core-core-2025-12-03' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull core irq cleanup from Thomas Gleixner:
"Tree wide cleanup of the remaining users of in_irq() which got
replaced by in_hardirq() and marked deprecated in 2020"
* tag 'core-core-2025-12-03' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
treewide: Remove in_irq()
Diffstat (limited to 'include/linux/preempt.h')
| -rw-r--r-- | include/linux/preempt.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/preempt.h b/include/linux/preempt.h index 102202185d7a..d964f965c8ff 100644 --- a/include/linux/preempt.h +++ b/include/linux/preempt.h @@ -134,11 +134,9 @@ static __always_inline unsigned char interrupt_context_level(void) /* * The following macros are deprecated and should not be used in new code: - * in_irq() - Obsolete version of in_hardirq() * in_softirq() - We have BH disabled, or are processing softirqs * in_interrupt() - We're in NMI,IRQ,SoftIRQ context or have BH disabled */ -#define in_irq() (hardirq_count()) #define in_softirq() (softirq_count()) #define in_interrupt() (irq_count()) |
