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>, Paul Mundt <lethal@linux-sh.org>
Subject: [patch 10/11] sh: remove obsolete hw_interrupt_type
Date: Sat, 02 May 2009 20:01:20 -0000 [thread overview]
Message-ID: <20090502195926.117909052@linutronix.de> (raw)
In-Reply-To: <20090502195607.539955644@linutronix.de>
[-- Attachment #1: sh-remove-obsolete-hw-interrupt-type.patch --]
[-- Type: text/plain, Size: 1384 bytes --]
Impact: cleanup
Convert the last remaining users to struct irq_chip and remove the
define.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
CC: Paul Mundt <lethal@linux-sh.org>
---
arch/sh/kernel/cpu/irq/imask.c | 2 +-
arch/sh/kernel/cpu/irq/intc-sh5.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6/arch/sh/kernel/cpu/irq/imask.c
===================================================================
--- linux-2.6.orig/arch/sh/kernel/cpu/irq/imask.c
+++ linux-2.6/arch/sh/kernel/cpu/irq/imask.c
@@ -39,7 +39,7 @@ static unsigned int startup_imask_irq(un
return 0; /* never anything pending */
}
-static struct hw_interrupt_type imask_irq_type = {
+static struct irq_chip imask_irq_type = {
.typename = "SR.IMASK",
.startup = startup_imask_irq,
.shutdown = shutdown_imask_irq,
Index: linux-2.6/arch/sh/kernel/cpu/irq/intc-sh5.c
===================================================================
--- linux-2.6.orig/arch/sh/kernel/cpu/irq/intc-sh5.c
+++ linux-2.6/arch/sh/kernel/cpu/irq/intc-sh5.c
@@ -84,7 +84,7 @@ static void disable_intc_irq(unsigned in
static void mask_and_ack_intc(unsigned int);
static void end_intc_irq(unsigned int irq);
-static struct hw_interrupt_type intc_irq_type = {
+static struct irq_chip intc_irq_type = {
.typename = "INTC",
.startup = startup_intc_irq,
.shutdown = shutdown_intc_irq,
next prev parent reply other threads:[~2009-05-02 20:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-02 20:00 [patch 00/11] Remove obsolete genirq defines and typedefs [Resend] Thomas Gleixner
2009-05-02 20:00 ` [patch 01/11] ia64: remove obsolete no_irq_type Thomas Gleixner
2009-05-02 20:00 ` [patch 02/11] sh: " Thomas Gleixner
2009-05-03 8:24 ` Paul Mundt
2009-05-02 20:00 ` [patch 03/11] ia64: remove obsolete irq_desc_t typedef Thomas Gleixner
2009-05-02 20:00 ` [patch 04/11] drivers/mfd: " Thomas Gleixner
2009-05-02 20:00 ` [patch 05/11] alpha: remove obsolete hw_interrupt_type Thomas Gleixner
2009-05-02 20:01 ` [patch 06/11] avr32: " Thomas Gleixner
2009-05-02 20:01 ` [patch 07/11] ia64: " Thomas Gleixner
2009-05-02 20:01 ` [patch 08/11] m32r: " Thomas Gleixner
2009-05-02 20:01 ` [patch 09/11] parisc: " Thomas Gleixner
2009-05-02 20:01 ` Thomas Gleixner [this message]
2009-05-02 20:01 ` [patch 11/11] 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=20090502195926.117909052@linutronix.de \
--to=tglx@linutronix.de \
--cc=akpm@linux-foundation.org \
--cc=lethal@linux-sh.org \
--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
all inboxes | Powered by JetHome®