]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[IA64] remove obsolete hw_interrupt_type
authorThomas Gleixner <tglx@linutronix.de>
Wed, 10 Jun 2009 19:45:00 +0000 (12:45 -0700)
committerTony Luck <tony.luck@intel.com>
Mon, 15 Jun 2009 21:35:10 +0000 (14:35 -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 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>
arch/ia64/hp/sim/hpsim_irq.c
arch/ia64/include/asm/hw_irq.h
arch/ia64/kernel/iosapic.c
arch/ia64/kernel/irq_lsapic.c

index e14b8f2165cfc6f2a8ccca9b50132a99e2dfa433..b272261d77cc7b3a2e05ef7c306c6d52ebee38fc 100644 (file)
@@ -27,7 +27,7 @@ hpsim_set_affinity_noop(unsigned int a, const struct cpumask *b)
        return 0;
 }
 
-static struct hw_interrupt_type irq_type_hp_sim = {
+static struct irq_chip irq_type_hp_sim = {
        .name =         "hpsim",
        .startup =      hpsim_irq_startup,
        .shutdown =     hpsim_irq_noop,
index 276f9d4584db3e93bc69dc8fad0af272bd5fb199..91619b31dbf5f45221cebd092d738426dfbd4da2 100644 (file)
@@ -106,7 +106,7 @@ extern struct irq_cfg irq_cfg[NR_IRQS];
 #define irq_to_domain(x)       irq_cfg[(x)].domain
 DECLARE_PER_CPU(int[IA64_NUM_VECTORS], vector_irq);
 
-extern struct hw_interrupt_type irq_type_ia64_lsapic;  /* CPU-internal interrupt controller */
+extern struct irq_chip irq_type_ia64_lsapic;   /* CPU-internal interrupt controller */
 
 #ifdef CONFIG_PARAVIRT_GUEST
 #include <asm/paravirt.h>
index a56f554207a5db6834010217d9aaaf34eef8c15e..c48b03f2b61dd30aaf22da1fcec101d59fd0b426 100644 (file)
@@ -601,7 +601,7 @@ register_intr (unsigned int gsi, int irq, unsigned char delivery,
               unsigned long polarity, unsigned long trigger)
 {
        struct irq_desc *idesc;
-       struct hw_interrupt_type *irq_type;
+       struct irq_chip *irq_type;
        int index;
        struct iosapic_rte_info *rte;
 
index e56a7a36aca30d061538fb490e86ec9241b25eed..fc1549d4564da16ff067e5bf76c8536480137648 100644 (file)
@@ -33,7 +33,7 @@ static int lsapic_retrigger(unsigned int irq)
        return 1;
 }
 
-struct hw_interrupt_type irq_type_ia64_lsapic = {
+struct irq_chip irq_type_ia64_lsapic = {
        .name =         "LSAPIC",
        .startup =      lsapic_noop_startup,
        .shutdown =     lsapic_noop,