瀏覽代碼

powerpc/irq: Convert obsolete hw_interrupt_type to struct irq_chip

Impact: cleanup

Convert the last remaining users to struct irq_chip.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: linuxppc-dev@ozlabs.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Thomas Gleixner 16 年之前
父節點
當前提交
353bca5ed4
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      arch/powerpc/include/asm/hw_irq.h
  2. 1 1
      arch/powerpc/platforms/powermac/pic.h

+ 1 - 1
arch/powerpc/include/asm/hw_irq.h

@@ -129,7 +129,7 @@ static inline int irqs_disabled_flags(unsigned long flags)
  * interrupt-retrigger: should we handle this via lost interrupts and IPIs
  * interrupt-retrigger: should we handle this via lost interrupts and IPIs
  * or should we not care like we do now ? --BenH.
  * or should we not care like we do now ? --BenH.
  */
  */
-struct hw_interrupt_type;
+struct irq_chip;
 
 
 #endif	/* __KERNEL__ */
 #endif	/* __KERNEL__ */
 #endif	/* _ASM_POWERPC_HW_IRQ_H */
 #endif	/* _ASM_POWERPC_HW_IRQ_H */

+ 1 - 1
arch/powerpc/platforms/powermac/pic.h

@@ -3,7 +3,7 @@
 
 
 #include <linux/irq.h>
 #include <linux/irq.h>
 
 
-extern struct hw_interrupt_type pmac_pic;
+extern struct irq_chip pmac_pic;
 
 
 extern void pmac_pic_init(void);
 extern void pmac_pic_init(void);
 extern int pmac_get_irq(void);
 extern int pmac_get_irq(void);