[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <174660883834.406.9096907142350031159.tip-bot2@tip-bot2>
Date: Wed, 07 May 2025 09:07:18 -0000
From: "tip-bot2 for Thomas Gleixner" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Thomas Gleixner <tglx@...utronix.de>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>, x86@...nel.org,
linux-kernel@...r.kernel.org, maz@...nel.org
Subject: [tip: irq/core] genirq: Remove irq_[get|put]_desc*()
The following commit has been merged into the irq/core branch of tip:
Commit-ID: 104361217c2a2ab7d6a9de756952814af0a8a5ad
Gitweb: https://git.kernel.org/tip/104361217c2a2ab7d6a9de756952814af0a8a5ad
Author: Thomas Gleixner <tglx@...utronix.de>
AuthorDate: Tue, 29 Apr 2025 08:55:54 +02:00
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitterDate: Wed, 07 May 2025 09:08:17 +02:00
genirq: Remove irq_[get|put]_desc*()
All users are converted to the guards. Remove the helpers.
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Link: https://lore.kernel.org/all/20250429065422.729586582@linutronix.de
---
kernel/irq/internals.h | 24 ------------------------
1 file changed, 24 deletions(-)
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h
index 44d3a67..bd2db6e 100644
--- a/kernel/irq/internals.h
+++ b/kernel/irq/internals.h
@@ -191,30 +191,6 @@ static inline class_irqdesc_lock_t class_irqdesc_lock_constructor(unsigned int i
#define scoped_irqdesc ((struct irq_desc *)(__guard_ptr(irqdesc_lock)(&scope)))
-static inline struct irq_desc *
-irq_get_desc_buslock(unsigned int irq, unsigned long *flags, unsigned int check)
-{
- return __irq_get_desc_lock(irq, flags, true, check);
-}
-
-static inline void
-irq_put_desc_busunlock(struct irq_desc *desc, unsigned long flags)
-{
- __irq_put_desc_unlock(desc, flags, true);
-}
-
-static inline struct irq_desc *
-irq_get_desc_lock(unsigned int irq, unsigned long *flags, unsigned int check)
-{
- return __irq_get_desc_lock(irq, flags, false, check);
-}
-
-static inline void
-irq_put_desc_unlock(struct irq_desc *desc, unsigned long flags)
-{
- __irq_put_desc_unlock(desc, flags, false);
-}
-
#define __irqd_to_state(d) ACCESS_PRIVATE((d)->common, state_use_accessors)
static inline unsigned int irqd_get(struct irq_data *d)
Powered by blists - more mailing lists