Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull irq fixes from Thomas Gleixner:
"Three trivial commits:

- Fix a kerneldoc regression

- Export handle_bad_irq to unbreak a driver in next

- Add an accessor for the of_node field so refactoring in next does
not depend on merge ordering"

* 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
irqdomain: Add an accessor for the of_node field
genirq: Fix handle_bad_irq kerneldoc comment
genirq: Export handle_bad_irq

+6 -1
+5
include/linux/irqdomain.h
··· 161 161 IRQ_DOMAIN_FLAG_NONCORE = (1 << 16), 162 162 }; 163 163 164 + static inline struct device_node *irq_domain_get_of_node(struct irq_domain *d) 165 + { 166 + return d->of_node; 167 + } 168 + 164 169 #ifdef CONFIG_IRQ_DOMAIN 165 170 struct irq_domain *__irq_domain_add(struct device_node *of_node, int size, 166 171 irq_hw_number_t hwirq_max, int direct_max,
+1 -1
kernel/irq/handle.c
··· 22 22 23 23 /** 24 24 * handle_bad_irq - handle spurious and unhandled irqs 25 - * @irq: the interrupt number 26 25 * @desc: description of the interrupt 27 26 * 28 27 * Handles spurious and unhandled IRQ's. It also prints a debugmessage. ··· 34 35 kstat_incr_irqs_this_cpu(desc); 35 36 ack_bad_irq(irq); 36 37 } 38 + EXPORT_SYMBOL_GPL(handle_bad_irq); 37 39 38 40 /* 39 41 * Special, empty irq handler: