]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
[IA64] remove obsolete no_irq_type
authorThomas Gleixner <tglx@linutronix.de>
Wed, 10 Jun 2009 19:44:59 +0000 (12:44 -0700)
committerTony Luck <tony.luck@intel.com>
Mon, 15 Jun 2009 21:33:47 +0000 (14:33 -0700)
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 no_irq_chip

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>
arch/ia64/hp/sim/hpsim_irq.c
arch/ia64/kernel/iosapic.c
arch/ia64/sn/kernel/irq.c

index acb5047ab57341d9818160f361db47c7e6e59313..17e5832fe0dcf12d08871f2a863f7b7613dd91b0 100644 (file)
@@ -46,7 +46,7 @@ hpsim_irq_init (void)
 
        for (i = 0; i < NR_IRQS; ++i) {
                idesc = irq_desc + i;
-               if (idesc->chip == &no_irq_type)
+               if (idesc->chip == &no_irq_chip)
                        idesc->chip = &irq_type_hp_sim;
        }
 }
index f92cef47bf862ed8cd3943875585535e0c412763..0900be60fc3a56245288a1ace33f1a49519f85b4 100644 (file)
@@ -650,7 +650,7 @@ register_intr (unsigned int gsi, int irq, unsigned char delivery,
 
        idesc = irq_desc + irq;
        if (irq_type != NULL && idesc->chip != irq_type) {
-               if (idesc->chip != &no_irq_type)
+               if (idesc->chip != &no_irq_chip)
                        printk(KERN_WARNING
                               "%s: changing vector %d from %s to %s\n",
                               __func__, irq_to_vector(irq),
index 764f26abac05df5e9d7659ff7254da6fde398301..e117f19c792580139cc28cf4199111bfe48f7722 100644 (file)
@@ -301,7 +301,7 @@ void sn_irq_init(void)
        ia64_last_device_vector = IA64_SN2_LAST_DEVICE_VECTOR;
 
        for (i = 0; i < NR_IRQS; i++) {
-               if (base_desc[i].chip == &no_irq_type) {
+               if (base_desc[i].chip == &no_irq_chip) {
                        base_desc[i].chip = &irq_type_sn;
                }
        }