All of lore.kernel.org
 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>, Tony Luck <tony.luck@intel.com>
Subject: [patch 13/18] ia64: convert obsolete hw_interrupt_type to struct irq_chip
Date: Wed, 11 Mar 2009 00:46:16 -0000	[thread overview]
Message-ID: <20090311003236.816143734@linutronix.de> (raw)
In-Reply-To: 20090311003204.592133594@linutronix.de

[-- Attachment #1: ia64-convert-obsolete-hw-interrupt-type.patch --]
[-- Type: text/plain, Size: 2366 bytes --]

Impact: cleanup

Convert the last remaining users to struct irq_chip.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
CC: Tony Luck <tony.luck@intel.com>

---
 arch/ia64/hp/sim/hpsim_irq.c   |    2 +-
 arch/ia64/include/asm/hw_irq.h |    2 +-
 arch/ia64/kernel/iosapic.c     |    2 +-
 arch/ia64/kernel/irq_lsapic.c  |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

Index: linux-2.6/arch/ia64/hp/sim/hpsim_irq.c
===================================================================
--- linux-2.6.orig/arch/ia64/hp/sim/hpsim_irq.c
+++ linux-2.6/arch/ia64/hp/sim/hpsim_irq.c
@@ -26,7 +26,7 @@ hpsim_set_affinity_noop(unsigned int a, 
 {
 }
 
-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: linux-2.6/arch/ia64/include/asm/hw_irq.h
===================================================================
--- linux-2.6.orig/arch/ia64/include/asm/hw_irq.h
+++ linux-2.6/arch/ia64/include/asm/hw_irq.h
@@ -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: linux-2.6/arch/ia64/kernel/iosapic.c
===================================================================
--- linux-2.6.orig/arch/ia64/kernel/iosapic.c
+++ linux-2.6/arch/ia64/kernel/iosapic.c
@@ -599,7 +599,7 @@ register_intr (unsigned int gsi, int irq
 	       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: linux-2.6/arch/ia64/kernel/irq_lsapic.c
===================================================================
--- linux-2.6.orig/arch/ia64/kernel/irq_lsapic.c
+++ linux-2.6/arch/ia64/kernel/irq_lsapic.c
@@ -33,7 +33,7 @@ static int lsapic_retrigger(unsigned int
 	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,



  parent reply	other threads:[~2009-03-11  0:50 UTC|newest]

Thread overview: 31+ 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  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  0:45   ` Thomas Gleixner
2009-03-11  2:19   ` Benjamin Herrenschmidt
2009-03-11  2:19     ` Benjamin Herrenschmidt
2009-03-11  7:59     ` Thomas Gleixner
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 ` Thomas Gleixner [this message]
2009-03-11  0:46 ` [patch 14/18] m32r: " Thomas Gleixner
2009-03-11  0:46 ` [patch 15/18] parisc: " Thomas Gleixner
2009-03-11  0:46 ` [patch 16/18] powerpc: " Thomas Gleixner
2009-03-11  0:46   ` Thomas Gleixner
2009-03-11  2:19   ` Benjamin Herrenschmidt
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
2009-03-11 11:35 ` [patch 03/18] mn10300: convert obsolete no_irq_type to no_irq_chip David Howells

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=20090311003236.816143734@linutronix.de \
    --to=tglx@linutronix.de \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tony.luck@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.