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

[IA64] remove obsolete hw_interrupt_type

The defines and typedefs (hw_interrupt_type, no_irq_type, irq_desc_t) have
been kept around for migration reasons. After more than two years it's
time to remove them finally.

This patch cleans up one of the remaining users. When all such patches
hit mainline we can remove the defines and typedefs finally.

Impact: cleanup

Convert the last remaining users to struct irq_chip and remove the
define.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>

authored by

Thomas Gleixner and committed by
Tony Luck
fb824f48 86bc3dfe

+4 -4
+1 -1
arch/ia64/hp/sim/hpsim_irq.c
··· 27 27 return 0; 28 28 } 29 29 30 - static struct hw_interrupt_type irq_type_hp_sim = { 30 + static struct irq_chip irq_type_hp_sim = { 31 31 .name = "hpsim", 32 32 .startup = hpsim_irq_startup, 33 33 .shutdown = hpsim_irq_noop,
+1 -1
arch/ia64/include/asm/hw_irq.h
··· 106 106 #define irq_to_domain(x) irq_cfg[(x)].domain 107 107 DECLARE_PER_CPU(int[IA64_NUM_VECTORS], vector_irq); 108 108 109 - extern struct hw_interrupt_type irq_type_ia64_lsapic; /* CPU-internal interrupt controller */ 109 + extern struct irq_chip irq_type_ia64_lsapic; /* CPU-internal interrupt controller */ 110 110 111 111 #ifdef CONFIG_PARAVIRT_GUEST 112 112 #include <asm/paravirt.h>
+1 -1
arch/ia64/kernel/iosapic.c
··· 601 601 unsigned long polarity, unsigned long trigger) 602 602 { 603 603 struct irq_desc *idesc; 604 - struct hw_interrupt_type *irq_type; 604 + struct irq_chip *irq_type; 605 605 int index; 606 606 struct iosapic_rte_info *rte; 607 607
+1 -1
arch/ia64/kernel/irq_lsapic.c
··· 33 33 return 1; 34 34 } 35 35 36 - struct hw_interrupt_type irq_type_ia64_lsapic = { 36 + struct irq_chip irq_type_ia64_lsapic = { 37 37 .name = "LSAPIC", 38 38 .startup = lsapic_noop_startup, 39 39 .shutdown = lsapic_noop,