no_irq_type to no_irq_chip change
And looking into definition for no_irq_type (include/linux/irq.h):
/*
* Migration helpers for obsolete names, they will go away:
*/
#define hw_interrupt_type irq_chip #define no_irq_type no_irq_chip typedef struct irq_desc irq_desc_t;
We can see that "no_irq_type" is being made obsoleted:
For eg:
arch/mn10300/kernel/irq.c +1 -1
@@ -140,7 +140,7 @@ void __init init_IRQ(void)int irq;for (irq =0 ; irq <NR_IRQS ; irq++) -if (irq_desc[irq].chip == &no_irq_type) +if (irq_desc[irq].chip == &no_irq_chip)/* due to the PIC latching interrupt requests, even * when the IRQ is disabled, IRQ_PENDING is superfluous * and we can use handle_level_irq() for edge-triggered
But looking further into existing source:
./ia64/hp/sim/hpsim_irq.c:
if (idesc->chip == &no_irq_type)
./ia64/sn/kernel/irq.c:
if (base_desc[i].chip == &no_irq_type) {./ia64/kernel/iosapic.c:
if (idesc->chip != &no_irq_type)
./sh/kernel/sh_ksyms_32.c:
extern struct hw_interrupt_type no_irq_type;EXPORT_SYMBOL(no_irq_type);
Does it make sense that I can change all these to no_irq_chip? Purely naming change in nature.
Thanks.
Signature · 2 lines
Regards, Peter Teoh