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

[IA64] remove obsolete irq_desc_t typedef

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 and remove the typedef.

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
86bc3dfe 8a7c3cd3

+12 -12
+1 -1
arch/ia64/hp/sim/hpsim_irq.c
··· 41 41 void __init 42 42 hpsim_irq_init (void) 43 43 { 44 - irq_desc_t *idesc; 44 + struct irq_desc *idesc; 45 45 int i; 46 46 47 47 for (i = 0; i < NR_IRQS; ++i) {
+1 -1
arch/ia64/include/asm/hw_irq.h
··· 146 146 * Default implementations for the irq-descriptor API: 147 147 */ 148 148 149 - extern irq_desc_t irq_desc[NR_IRQS]; 149 + extern struct irq_desc irq_desc[NR_IRQS]; 150 150 151 151 #ifndef CONFIG_IA64_GENERIC 152 152 static inline ia64_vector __ia64_irq_to_vector(int irq)
+3 -3
arch/ia64/kernel/iosapic.c
··· 451 451 static void 452 452 iosapic_ack_edge_irq (unsigned int irq) 453 453 { 454 - irq_desc_t *idesc = irq_desc + irq; 454 + struct irq_desc *idesc = irq_desc + irq; 455 455 456 456 irq_complete_move(irq); 457 457 move_native_irq(irq); ··· 600 600 register_intr (unsigned int gsi, int irq, unsigned char delivery, 601 601 unsigned long polarity, unsigned long trigger) 602 602 { 603 - irq_desc_t *idesc; 603 + struct irq_desc *idesc; 604 604 struct hw_interrupt_type *irq_type; 605 605 int index; 606 606 struct iosapic_rte_info *rte; ··· 828 828 { 829 829 unsigned long flags; 830 830 int irq, index; 831 - irq_desc_t *idesc; 831 + struct irq_desc *idesc; 832 832 u32 low32; 833 833 unsigned long trigger, polarity; 834 834 unsigned int dest;
+1 -1
arch/ia64/kernel/irq.c
··· 130 130 */ 131 131 static void migrate_irqs(void) 132 132 { 133 - irq_desc_t *desc; 133 + struct irq_desc *desc; 134 134 int irq, new_cpu; 135 135 136 136 for (irq=0; irq < NR_IRQS; irq++) {
+1 -1
arch/ia64/kernel/irq_ia64.c
··· 630 630 void 631 631 ia64_native_register_percpu_irq (ia64_vector vec, struct irqaction *action) 632 632 { 633 - irq_desc_t *desc; 633 + struct irq_desc *desc; 634 634 unsigned int irq; 635 635 636 636 irq = vec;
+1 -1
arch/ia64/kernel/mca.c
··· 2093 2093 cpe_poll_timer.function = ia64_mca_cpe_poll; 2094 2094 2095 2095 { 2096 - irq_desc_t *desc; 2096 + struct irq_desc *desc; 2097 2097 unsigned int irq; 2098 2098 2099 2099 if (cpe_vector >= 0) {
+1 -1
arch/ia64/kernel/smpboot.c
··· 678 678 int migrate_platform_irqs(unsigned int cpu) 679 679 { 680 680 int new_cpei_cpu; 681 - irq_desc_t *desc = NULL; 681 + struct irq_desc *desc = NULL; 682 682 const struct cpumask *mask; 683 683 int retval = 0; 684 684
+2 -2
arch/ia64/sn/kernel/irq.c
··· 295 295 void sn_irq_init(void) 296 296 { 297 297 int i; 298 - irq_desc_t *base_desc = irq_desc; 298 + struct irq_desc *base_desc = irq_desc; 299 299 300 300 ia64_first_device_vector = IA64_SN2_FIRST_DEVICE_VECTOR; 301 301 ia64_last_device_vector = IA64_SN2_LAST_DEVICE_VECTOR; ··· 377 377 int cpu = nasid_slice_to_cpuid(nasid, slice); 378 378 #ifdef CONFIG_SMP 379 379 int cpuphys; 380 - irq_desc_t *desc; 380 + struct irq_desc *desc; 381 381 #endif 382 382 383 383 pci_dev_get(pci_dev);
+1 -1
arch/ia64/xen/irq_xen.c
··· 138 138 __xen_register_percpu_irq(unsigned int cpu, unsigned int vec, 139 139 struct irqaction *action, int save) 140 140 { 141 - irq_desc_t *desc; 141 + struct irq_desc *desc; 142 142 int irq = 0; 143 143 144 144 if (xen_slab_ready) {