diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-06-10 15:45:00 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2009-06-15 17:34:31 -0400 |
commit | 86bc3dfe6a76eb2fd332694f5052c862a3314efd (patch) | |
tree | 236cf399232a92c96c4976627aa104cc48a46674 /arch/ia64 | |
parent | 8a7c3cd3123d9278d8c505a9c8d0f7a5d7a0b3ca (diff) |
[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>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/hp/sim/hpsim_irq.c | 2 | ||||
-rw-r--r-- | arch/ia64/include/asm/hw_irq.h | 2 | ||||
-rw-r--r-- | arch/ia64/kernel/iosapic.c | 6 | ||||
-rw-r--r-- | arch/ia64/kernel/irq.c | 2 | ||||
-rw-r--r-- | arch/ia64/kernel/irq_ia64.c | 2 | ||||
-rw-r--r-- | arch/ia64/kernel/mca.c | 2 | ||||
-rw-r--r-- | arch/ia64/kernel/smpboot.c | 2 | ||||
-rw-r--r-- | arch/ia64/sn/kernel/irq.c | 4 | ||||
-rw-r--r-- | arch/ia64/xen/irq_xen.c | 2 |
9 files changed, 12 insertions, 12 deletions
diff --git a/arch/ia64/hp/sim/hpsim_irq.c b/arch/ia64/hp/sim/hpsim_irq.c index 17e5832fe0dc..e14b8f2165cf 100644 --- a/arch/ia64/hp/sim/hpsim_irq.c +++ b/arch/ia64/hp/sim/hpsim_irq.c | |||
@@ -41,7 +41,7 @@ static struct hw_interrupt_type irq_type_hp_sim = { | |||
41 | void __init | 41 | void __init |
42 | hpsim_irq_init (void) | 42 | hpsim_irq_init (void) |
43 | { | 43 | { |
44 | irq_desc_t *idesc; | 44 | struct irq_desc *idesc; |
45 | int i; | 45 | int i; |
46 | 46 | ||
47 | for (i = 0; i < NR_IRQS; ++i) { | 47 | for (i = 0; i < NR_IRQS; ++i) { |
diff --git a/arch/ia64/include/asm/hw_irq.h b/arch/ia64/include/asm/hw_irq.h index 5c99cbcb8a0d..276f9d4584db 100644 --- a/arch/ia64/include/asm/hw_irq.h +++ b/arch/ia64/include/asm/hw_irq.h | |||
@@ -146,7 +146,7 @@ static inline void ia64_native_resend_irq(unsigned int vector) | |||
146 | * Default implementations for the irq-descriptor API: | 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 | #ifndef CONFIG_IA64_GENERIC | 151 | #ifndef CONFIG_IA64_GENERIC |
152 | static inline ia64_vector __ia64_irq_to_vector(int irq) | 152 | static inline ia64_vector __ia64_irq_to_vector(int irq) |
diff --git a/arch/ia64/kernel/iosapic.c b/arch/ia64/kernel/iosapic.c index 0900be60fc3a..a56f554207a5 100644 --- a/arch/ia64/kernel/iosapic.c +++ b/arch/ia64/kernel/iosapic.c | |||
@@ -451,7 +451,7 @@ iosapic_startup_edge_irq (unsigned int irq) | |||
451 | static void | 451 | static void |
452 | iosapic_ack_edge_irq (unsigned int irq) | 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 | irq_complete_move(irq); | 456 | irq_complete_move(irq); |
457 | move_native_irq(irq); | 457 | move_native_irq(irq); |
@@ -600,7 +600,7 @@ static int | |||
600 | register_intr (unsigned int gsi, int irq, unsigned char delivery, | 600 | register_intr (unsigned int gsi, int irq, unsigned char delivery, |
601 | unsigned long polarity, unsigned long trigger) | 601 | unsigned long polarity, unsigned long trigger) |
602 | { | 602 | { |
603 | irq_desc_t *idesc; | 603 | struct irq_desc *idesc; |
604 | struct hw_interrupt_type *irq_type; | 604 | struct hw_interrupt_type *irq_type; |
605 | int index; | 605 | int index; |
606 | struct iosapic_rte_info *rte; | 606 | struct iosapic_rte_info *rte; |
@@ -828,7 +828,7 @@ iosapic_unregister_intr (unsigned int gsi) | |||
828 | { | 828 | { |
829 | unsigned long flags; | 829 | unsigned long flags; |
830 | int irq, index; | 830 | int irq, index; |
831 | irq_desc_t *idesc; | 831 | struct irq_desc *idesc; |
832 | u32 low32; | 832 | u32 low32; |
833 | unsigned long trigger, polarity; | 833 | unsigned long trigger, polarity; |
834 | unsigned int dest; | 834 | unsigned int dest; |
diff --git a/arch/ia64/kernel/irq.c b/arch/ia64/kernel/irq.c index 7429752ef5ad..7d8951229e7c 100644 --- a/arch/ia64/kernel/irq.c +++ b/arch/ia64/kernel/irq.c | |||
@@ -130,7 +130,7 @@ unsigned int vectors_in_migration[NR_IRQS]; | |||
130 | */ | 130 | */ |
131 | static void migrate_irqs(void) | 131 | static void migrate_irqs(void) |
132 | { | 132 | { |
133 | irq_desc_t *desc; | 133 | struct irq_desc *desc; |
134 | int irq, new_cpu; | 134 | int irq, new_cpu; |
135 | 135 | ||
136 | for (irq=0; irq < NR_IRQS; irq++) { | 136 | for (irq=0; irq < NR_IRQS; irq++) { |
diff --git a/arch/ia64/kernel/irq_ia64.c b/arch/ia64/kernel/irq_ia64.c index b448197728be..dd9d7b54f1a1 100644 --- a/arch/ia64/kernel/irq_ia64.c +++ b/arch/ia64/kernel/irq_ia64.c | |||
@@ -630,7 +630,7 @@ static struct irqaction tlb_irqaction = { | |||
630 | void | 630 | void |
631 | ia64_native_register_percpu_irq (ia64_vector vec, struct irqaction *action) | 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 | unsigned int irq; | 634 | unsigned int irq; |
635 | 635 | ||
636 | irq = vec; | 636 | irq = vec; |
diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c index 8f33a8840422..1cce4ceb48ac 100644 --- a/arch/ia64/kernel/mca.c +++ b/arch/ia64/kernel/mca.c | |||
@@ -2093,7 +2093,7 @@ ia64_mca_late_init(void) | |||
2093 | cpe_poll_timer.function = ia64_mca_cpe_poll; | 2093 | cpe_poll_timer.function = ia64_mca_cpe_poll; |
2094 | 2094 | ||
2095 | { | 2095 | { |
2096 | irq_desc_t *desc; | 2096 | struct irq_desc *desc; |
2097 | unsigned int irq; | 2097 | unsigned int irq; |
2098 | 2098 | ||
2099 | if (cpe_vector >= 0) { | 2099 | if (cpe_vector >= 0) { |
diff --git a/arch/ia64/kernel/smpboot.c b/arch/ia64/kernel/smpboot.c index 7700e23034bb..2a70af473b36 100644 --- a/arch/ia64/kernel/smpboot.c +++ b/arch/ia64/kernel/smpboot.c | |||
@@ -678,7 +678,7 @@ extern void fixup_irqs(void); | |||
678 | int migrate_platform_irqs(unsigned int cpu) | 678 | int migrate_platform_irqs(unsigned int cpu) |
679 | { | 679 | { |
680 | int new_cpei_cpu; | 680 | int new_cpei_cpu; |
681 | irq_desc_t *desc = NULL; | 681 | struct irq_desc *desc = NULL; |
682 | const struct cpumask *mask; | 682 | const struct cpumask *mask; |
683 | int retval = 0; | 683 | int retval = 0; |
684 | 684 | ||
diff --git a/arch/ia64/sn/kernel/irq.c b/arch/ia64/sn/kernel/irq.c index e117f19c7925..40d6eeda1c4b 100644 --- a/arch/ia64/sn/kernel/irq.c +++ b/arch/ia64/sn/kernel/irq.c | |||
@@ -295,7 +295,7 @@ unsigned int sn_local_vector_to_irq(u8 vector) | |||
295 | void sn_irq_init(void) | 295 | void sn_irq_init(void) |
296 | { | 296 | { |
297 | int i; | 297 | int i; |
298 | irq_desc_t *base_desc = irq_desc; | 298 | struct irq_desc *base_desc = irq_desc; |
299 | 299 | ||
300 | ia64_first_device_vector = IA64_SN2_FIRST_DEVICE_VECTOR; | 300 | ia64_first_device_vector = IA64_SN2_FIRST_DEVICE_VECTOR; |
301 | ia64_last_device_vector = IA64_SN2_LAST_DEVICE_VECTOR; | 301 | ia64_last_device_vector = IA64_SN2_LAST_DEVICE_VECTOR; |
@@ -377,7 +377,7 @@ void sn_irq_fixup(struct pci_dev *pci_dev, struct sn_irq_info *sn_irq_info) | |||
377 | int cpu = nasid_slice_to_cpuid(nasid, slice); | 377 | int cpu = nasid_slice_to_cpuid(nasid, slice); |
378 | #ifdef CONFIG_SMP | 378 | #ifdef CONFIG_SMP |
379 | int cpuphys; | 379 | int cpuphys; |
380 | irq_desc_t *desc; | 380 | struct irq_desc *desc; |
381 | #endif | 381 | #endif |
382 | 382 | ||
383 | pci_dev_get(pci_dev); | 383 | pci_dev_get(pci_dev); |
diff --git a/arch/ia64/xen/irq_xen.c b/arch/ia64/xen/irq_xen.c index af93aadb68bb..f042e192d2fe 100644 --- a/arch/ia64/xen/irq_xen.c +++ b/arch/ia64/xen/irq_xen.c | |||
@@ -138,7 +138,7 @@ static void | |||
138 | __xen_register_percpu_irq(unsigned int cpu, unsigned int vec, | 138 | __xen_register_percpu_irq(unsigned int cpu, unsigned int vec, |
139 | struct irqaction *action, int save) | 139 | struct irqaction *action, int save) |
140 | { | 140 | { |
141 | irq_desc_t *desc; | 141 | struct irq_desc *desc; |
142 | int irq = 0; | 142 | int irq = 0; |
143 | 143 | ||
144 | if (xen_slab_ready) { | 144 | if (xen_slab_ready) { |