]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
irqdomain: Drop irq_linear_revmap()
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Wed, 19 Mar 2025 09:29:42 +0000 (10:29 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 16 May 2025 19:06:12 +0000 (21:06 +0200)
irq_linear_revmap() is deprecated and unused now. So remove it.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250319092951.37667-50-jirislaby@kernel.org
Documentation/core-api/irq/irq-domain.rst
Documentation/translations/zh_CN/core-api/irq/irq-domain.rst
include/linux/irqdomain.h

index 7624607a171b2aad5e595dc42a83ae53b81db6b8..c365c3ed4eba6790dbe0913fb917cd6c18bd6bcf 100644 (file)
@@ -62,8 +62,6 @@ variety of methods:
   mapping.
 - irq_find_mapping() returns a Linux IRQ number for a given domain and
   hwirq number, and 0 if there was no mapping
-- irq_linear_revmap() is now identical to irq_find_mapping(), and is
-  deprecated
 - generic_handle_domain_irq() handles an interrupt described by a
   domain and a hwirq number
 
index 913c3eda3f74d28b9980fd9eaea7cb2696023ed1..4a2d3b27aa4d215bc7d7db90987f99c682d5bf9b 100644 (file)
@@ -60,8 +60,6 @@ irq_domain和一个hwirq号作为参数。 如果hwirq的映射还不存在,
 
 - irq_find_mapping()返回给定域和hwirq的Linux IRQ号,如果没有映射则返回0。
 
-- irq_linear_revmap()现与irq_find_mapping()相同,已被废弃。
-
 - generic_handle_domain_irq()处理一个由域和hwirq号描述的中断。
 
 请注意,irq域的查找必须发生在与RCU读临界区兼容的上下文中。
index 712c662de981070140e90c420ccb5518c04a6d66..c8e55cd1e3527741bfe363053f693d27069796b8 100644 (file)
@@ -492,12 +492,6 @@ static inline unsigned int irq_find_mapping(struct irq_domain *domain,
        return 0;
 }
 
-static inline unsigned int irq_linear_revmap(struct irq_domain *domain,
-                                            irq_hw_number_t hwirq)
-{
-       return irq_find_mapping(domain, hwirq);
-}
-
 extern const struct irq_domain_ops irq_domain_simple_ops;
 
 /* stock xlate functions */