mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
lockdep: Remove disable_irq_lockdep()
disable_irq_lockdep() has no users, last one was probabaly removed in
0b7c874348
("forcedeth: fix unilateral interrupt disabling in netpoll path")
Remove disable_irq_lockdep().
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20250212103619.2560503-3-bigeasy@linutronix.de
This commit is contained in:
parent
87886b32d6
commit
35e6b537af
1 changed files with 0 additions and 8 deletions
|
@ -461,14 +461,6 @@ static inline void disable_irq_nosync_lockdep_irqsave(unsigned int irq, unsigned
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void disable_irq_lockdep(unsigned int irq)
|
|
||||||
{
|
|
||||||
disable_irq(irq);
|
|
||||||
#ifdef CONFIG_LOCKDEP
|
|
||||||
local_irq_disable();
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void enable_irq_lockdep(unsigned int irq)
|
static inline void enable_irq_lockdep(unsigned int irq)
|
||||||
{
|
{
|
||||||
#if defined(CONFIG_LOCKDEP) && !defined(CONFIG_PREEMPT_RT)
|
#if defined(CONFIG_LOCKDEP) && !defined(CONFIG_PREEMPT_RT)
|
||||||
|
|
Loading…
Add table
Reference in a new issue