mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 10:01:39 -05:00
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()
This commit is contained in:
@@ -202,7 +202,7 @@ static void init_shared_classes(void)
|
||||
local_irq_disable(); \
|
||||
__irq_enter(); \
|
||||
lockdep_hardirq_threaded(); \
|
||||
WARN_ON(!in_irq());
|
||||
WARN_ON(!in_hardirq());
|
||||
|
||||
#define HARDIRQ_EXIT() \
|
||||
__irq_exit(); \
|
||||
@@ -2512,7 +2512,7 @@ DEFINE_LOCK_GUARD_0(NOTTHREADED_HARDIRQ,
|
||||
do {
|
||||
local_irq_disable();
|
||||
__irq_enter();
|
||||
WARN_ON(!in_irq());
|
||||
WARN_ON(!in_hardirq());
|
||||
} while(0), HARDIRQ_EXIT())
|
||||
DEFINE_LOCK_GUARD_0(SOFTIRQ, SOFTIRQ_ENTER(), SOFTIRQ_EXIT())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user