From: Thomas Gleixner <tglx@linutronix.de>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Ingo Molnar <mingo@elte.hu>, Kyle McMartin <kyle@mcmartin.ca>
Subject: [patch 15/18] parisc: convert obsolete hw_interrupt_type to struct irq_chip
Date: Wed, 11 Mar 2009 00:46:26 -0000 [thread overview]
Message-ID: <20090311003237.052629175@linutronix.de> (raw)
In-Reply-To: 20090311003204.592133594@linutronix.de
[-- Attachment #1: parisc-convert-obsolete-hw-interrupt-type.patch --]
[-- Type: text/plain, Size: 4276 bytes --]
Impact: cleanup
Convert the last remaining users to struct irq_chip.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
CC: Kyle McMartin <kyle@mcmartin.ca>
---
arch/parisc/kernel/irq.c | 2 +-
drivers/parisc/dino.c | 2 +-
drivers/parisc/eisa.c | 2 +-
drivers/parisc/gsc.c | 4 ++--
drivers/parisc/gsc.h | 2 +-
drivers/parisc/iosapic.c | 2 +-
drivers/parisc/superio.c | 2 +-
7 files changed, 8 insertions(+), 8 deletions(-)
Index: linux-2.6/arch/parisc/kernel/irq.c
===================================================================
--- linux-2.6.orig/arch/parisc/kernel/irq.c
+++ linux-2.6/arch/parisc/kernel/irq.c
@@ -140,7 +140,7 @@ static void cpu_set_affinity_irq(unsigne
}
#endif
-static struct hw_interrupt_type cpu_interrupt_type = {
+static struct irq_chip cpu_interrupt_type = {
.typename = "CPU",
.startup = cpu_startup_irq,
.shutdown = cpu_disable_irq,
Index: linux-2.6/drivers/parisc/dino.c
===================================================================
--- linux-2.6.orig/drivers/parisc/dino.c
+++ linux-2.6/drivers/parisc/dino.c
@@ -353,7 +353,7 @@ static unsigned int dino_startup_irq(uns
return 0;
}
-static struct hw_interrupt_type dino_interrupt_type = {
+static struct irq_chip dino_interrupt_type = {
.typename = "GSC-PCI",
.startup = dino_startup_irq,
.shutdown = dino_disable_irq,
Index: linux-2.6/drivers/parisc/eisa.c
===================================================================
--- linux-2.6.orig/drivers/parisc/eisa.c
+++ linux-2.6/drivers/parisc/eisa.c
@@ -188,7 +188,7 @@ static unsigned int eisa_startup_irq(uns
return 0;
}
-static struct hw_interrupt_type eisa_interrupt_type = {
+static struct irq_chip eisa_interrupt_type = {
.typename = "EISA",
.startup = eisa_startup_irq,
.shutdown = eisa_disable_irq,
Index: linux-2.6/drivers/parisc/gsc.c
===================================================================
--- linux-2.6.orig/drivers/parisc/gsc.c
+++ linux-2.6/drivers/parisc/gsc.c
@@ -148,7 +148,7 @@ static unsigned int gsc_asic_startup_irq
return 0;
}
-static struct hw_interrupt_type gsc_asic_interrupt_type = {
+static struct irq_chip gsc_asic_interrupt_type = {
.typename = "GSC-ASIC",
.startup = gsc_asic_startup_irq,
.shutdown = gsc_asic_disable_irq,
@@ -158,7 +158,7 @@ static struct hw_interrupt_type gsc_asic
.end = no_end_irq,
};
-int gsc_assign_irq(struct hw_interrupt_type *type, void *data)
+int gsc_assign_irq(struct irq_chip *type, void *data)
{
static int irq = GSC_IRQ_BASE;
struct irq_desc *desc;
Index: linux-2.6/drivers/parisc/gsc.h
===================================================================
--- linux-2.6.orig/drivers/parisc/gsc.h
+++ linux-2.6/drivers/parisc/gsc.h
@@ -38,7 +38,7 @@ struct gsc_asic {
int gsc_common_setup(struct parisc_device *parent, struct gsc_asic *gsc_asic);
int gsc_alloc_irq(struct gsc_irq *dev); /* dev needs an irq */
int gsc_claim_irq(struct gsc_irq *dev, int irq); /* dev needs this irq */
-int gsc_assign_irq(struct hw_interrupt_type *type, void *data);
+int gsc_assign_irq(struct irq_chip *type, void *data);
int gsc_find_local_irq(unsigned int irq, int *global_irq, int limit);
void gsc_fixup_irqs(struct parisc_device *parent, void *ctrl,
void (*choose)(struct parisc_device *child, void *ctrl));
Index: linux-2.6/drivers/parisc/iosapic.c
===================================================================
--- linux-2.6.orig/drivers/parisc/iosapic.c
+++ linux-2.6/drivers/parisc/iosapic.c
@@ -725,7 +725,7 @@ static void iosapic_set_affinity_irq(uns
}
#endif
-static struct hw_interrupt_type iosapic_interrupt_type = {
+static struct irq_chip iosapic_interrupt_type = {
.typename = "IO-SAPIC-level",
.startup = iosapic_startup_irq,
.shutdown = iosapic_disable_irq,
Index: linux-2.6/drivers/parisc/superio.c
===================================================================
--- linux-2.6.orig/drivers/parisc/superio.c
+++ linux-2.6/drivers/parisc/superio.c
@@ -325,7 +325,7 @@ static unsigned int superio_startup_irq(
return 0;
}
-static struct hw_interrupt_type superio_interrupt_type = {
+static struct irq_chip superio_interrupt_type = {
.typename = SUPERIO,
.startup = superio_startup_irq,
.shutdown = superio_disable_irq,
next prev parent reply other threads:[~2009-03-11 0:52 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-11 0:45 [patch 00/18] Remove obsolete genirq defines and typedefs Thomas Gleixner
2009-03-11 0:45 ` [patch 01/18] genirq: prepare removal of obsolete " Thomas Gleixner
2009-03-11 0:45 ` [patch 02/18] ia64: convert obsolete no_irq_type to no_irq_chip Thomas Gleixner
2009-03-11 0:45 ` [patch 03/18] mn10300: " Thomas Gleixner
2009-03-11 11:35 ` David Howells
2009-03-11 0:45 ` [patch 04/18] sh: " Thomas Gleixner
2009-03-11 0:45 ` [patch 05/18] ia64: convert obsolete irq_desc_t to struct irq_desc Thomas Gleixner
2009-03-11 0:45 ` [patch 06/18] drivers/mfd: " Thomas Gleixner
2009-03-11 0:45 ` [patch 07/18] mips: " Thomas Gleixner
2009-03-11 16:00 ` David Daney
2009-03-11 17:31 ` Ralf Baechle
2009-03-11 0:45 ` [patch 08/18] powerpc: " Thomas Gleixner
2009-03-11 2:19 ` Benjamin Herrenschmidt
2009-03-11 7:59 ` Thomas Gleixner
2009-03-11 0:45 ` [patch 09/18] x86: " Thomas Gleixner
2009-03-11 0:46 ` [patch 10/18] alpha: convert obsolete hw_interrupt_type to struct irq_chip Thomas Gleixner
2009-03-11 0:46 ` [patch 11/18] avr32: " Thomas Gleixner
2009-03-11 0:46 ` [patch 12/18] cris: " Thomas Gleixner
2009-04-02 12:31 ` Jesper Nilsson
2009-03-11 0:46 ` [patch 13/18] ia64: " Thomas Gleixner
2009-03-11 0:46 ` [patch 14/18] m32r: " Thomas Gleixner
2009-03-11 0:46 ` Thomas Gleixner [this message]
2009-03-11 0:46 ` [patch 16/18] powerpc: " Thomas Gleixner
2009-03-11 2:19 ` Benjamin Herrenschmidt
2009-03-11 0:46 ` [patch 17/18] sh: " Thomas Gleixner
2009-03-11 0:46 ` [patch 18/18] um: " Thomas Gleixner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090311003237.052629175@linutronix.de \
--to=tglx@linutronix.de \
--cc=akpm@linux-foundation.org \
--cc=kyle@mcmartin.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox