mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
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>, Jeff Dike <jdike@addtoit.com>
Subject: [patch 11/11] um: remove obsolete hw_interrupt_type
Date: Sat, 02 May 2009 20:01:24 -0000	[thread overview]
Message-ID: <20090502195926.222302283@linutronix.de> (raw)
In-Reply-To: <20090502195607.539955644@linutronix.de>

[-- Attachment #1: um-remove-obsolete-hw-interrupt-type.patch --]
[-- Type: text/plain, Size: 1305 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: Jeff Dike <jdike@addtoit.com>
---
 arch/um/kernel/irq.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: linux-2.6/arch/um/kernel/irq.c
===================================================================
--- linux-2.6.orig/arch/um/kernel/irq.c
+++ linux-2.6/arch/um/kernel/irq.c
@@ -358,7 +358,7 @@ EXPORT_SYMBOL(um_request_irq);
 EXPORT_SYMBOL(reactivate_fd);
 
 /*
- * hw_interrupt_type must define (startup || enable) &&
+ * irq_chip must define (startup || enable) &&
  * (shutdown || disable) && end
  */
 static void dummy(unsigned int irq)
@@ -366,7 +366,7 @@ static void dummy(unsigned int irq)
 }
 
 /* This is used for everything else than the timer. */
-static struct hw_interrupt_type normal_irq_type = {
+static struct irq_chip normal_irq_type = {
 	.typename = "SIGIO",
 	.release = free_irq_by_irq_and_dev,
 	.disable = dummy,
@@ -375,7 +375,7 @@ static struct hw_interrupt_type normal_i
 	.end = dummy
 };
 
-static struct hw_interrupt_type SIGVTALRM_irq_type = {
+static struct irq_chip SIGVTALRM_irq_type = {
 	.typename = "SIGVTALRM",
 	.release = free_irq_by_irq_and_dev,
 	.shutdown = dummy, /* never called */



      parent reply	other threads:[~2009-05-02 20:05 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 ` [patch 10/11] sh: " Thomas Gleixner
2009-05-02 20:01 ` Thomas Gleixner [this message]

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.222302283@linutronix.de \
    --to=tglx@linutronix.de \
    --cc=akpm@linux-foundation.org \
    --cc=jdike@addtoit.com \
    --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®