* [patch 01/18] genirq: prepare removal of obsolete defines and typedefs
2009-03-11 0:45 [patch 00/18] Remove obsolete genirq defines and typedefs Thomas Gleixner
@ 2009-03-11 0:45 ` Thomas Gleixner
2009-03-11 0:45 ` [patch 02/18] ia64: convert obsolete no_irq_type to no_irq_chip Thomas Gleixner
` (16 subsequent siblings)
17 siblings, 0 replies; 26+ messages in thread
From: Thomas Gleixner @ 2009-03-11 0:45 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton, Ingo Molnar
[-- Attachment #1: genirq-prepare-removal-of-obsolete-defines-and-typedefs.patch --]
[-- Type: text/plain, Size: 987 bytes --]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
Documentation/feature-removal-schedule.txt | 9 +++++++++
1 file changed, 9 insertions(+)
Index: linux-2.6/Documentation/feature-removal-schedule.txt
===================================================================
--- linux-2.6.orig/Documentation/feature-removal-schedule.txt
+++ linux-2.6/Documentation/feature-removal-schedule.txt
@@ -344,3 +344,12 @@ Why: See commits 129f8ae9b1b5be94517da76
Removal is subject to fixing any remaining bugs in ACPI which may
cause the thermal throttling not to happen at the right time.
Who: Dave Jones <davej@redhat.com>, Matthew Garrett <mjg@redhat.com>
+
+---------------------------
+
+What: obsolete generic irq defines and typedefs
+When: 2.6.30
+Why: 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
+Who: Thomas Gleixner <tglx@linutronix.de>
^ permalink raw reply [flat|nested] 26+ messages in thread* [patch 02/18] ia64: convert obsolete no_irq_type to no_irq_chip
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 ` Thomas Gleixner
2009-03-11 0:45 ` [patch 03/18] mn10300: " Thomas Gleixner
` (15 subsequent siblings)
17 siblings, 0 replies; 26+ messages in thread
From: Thomas Gleixner @ 2009-03-11 0:45 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton, Ingo Molnar, Tony Luck
[-- Attachment #1: ia64-convert-obsolete-no-irq-type.patch --]
[-- Type: text/plain, Size: 1750 bytes --]
Impact: cleanup
convert the last remaining users to no_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/kernel/iosapic.c | 2 +-
arch/ia64/sn/kernel/irq.c | 2 +-
3 files changed, 3 insertions(+), 3 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
@@ -45,7 +45,7 @@ hpsim_irq_init (void)
for (i = 0; i < NR_IRQS; ++i) {
idesc = irq_desc + i;
- if (idesc->chip == &no_irq_type)
+ if (idesc->chip == &no_irq_chip)
idesc->chip = &irq_type_hp_sim;
}
}
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
@@ -648,7 +648,7 @@ register_intr (unsigned int gsi, int irq
idesc = irq_desc + irq;
if (irq_type != NULL && idesc->chip != irq_type) {
- if (idesc->chip != &no_irq_type)
+ if (idesc->chip != &no_irq_chip)
printk(KERN_WARNING
"%s: changing vector %d from %s to %s\n",
__func__, irq_to_vector(irq),
Index: linux-2.6/arch/ia64/sn/kernel/irq.c
===================================================================
--- linux-2.6.orig/arch/ia64/sn/kernel/irq.c
+++ linux-2.6/arch/ia64/sn/kernel/irq.c
@@ -299,7 +299,7 @@ void sn_irq_init(void)
ia64_last_device_vector = IA64_SN2_LAST_DEVICE_VECTOR;
for (i = 0; i < NR_IRQS; i++) {
- if (base_desc[i].chip == &no_irq_type) {
+ if (base_desc[i].chip == &no_irq_chip) {
base_desc[i].chip = &irq_type_sn;
}
}
^ permalink raw reply [flat|nested] 26+ messages in thread* [patch 03/18] mn10300: convert obsolete no_irq_type to no_irq_chip
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 ` Thomas Gleixner
2009-03-11 11:35 ` David Howells
2009-03-11 0:45 ` [patch 04/18] sh: " Thomas Gleixner
` (14 subsequent siblings)
17 siblings, 1 reply; 26+ messages in thread
From: Thomas Gleixner @ 2009-03-11 0:45 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton, Ingo Molnar, David Howells
[-- Attachment #1: mn10300-convert-obsolete-no-irq-type.patch --]
[-- Type: text/plain, Size: 788 bytes --]
convert the last remaining users to no_irq_chip
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
CC: David Howells <dhowells@redhat.com>
---
arch/mn10300/kernel/irq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/arch/mn10300/kernel/irq.c
===================================================================
--- linux-2.6.orig/arch/mn10300/kernel/irq.c
+++ linux-2.6/arch/mn10300/kernel/irq.c
@@ -140,7 +140,7 @@ void __init init_IRQ(void)
int irq;
for (irq = 0; irq < NR_IRQS; irq++)
- if (irq_desc[irq].chip == &no_irq_type)
+ if (irq_desc[irq].chip == &no_irq_chip)
/* due to the PIC latching interrupt requests, even
* when the IRQ is disabled, IRQ_PENDING is superfluous
* and we can use handle_level_irq() for edge-triggered
^ permalink raw reply [flat|nested] 26+ messages in thread* [patch 04/18] sh: convert obsolete no_irq_type to no_irq_chip
2009-03-11 0:45 [patch 00/18] Remove obsolete genirq defines and typedefs Thomas Gleixner
` (2 preceding siblings ...)
2009-03-11 0:45 ` [patch 03/18] mn10300: " Thomas Gleixner
@ 2009-03-11 0:45 ` Thomas Gleixner
2009-03-11 0:45 ` [patch 05/18] ia64: convert obsolete irq_desc_t to struct irq_desc Thomas Gleixner
` (13 subsequent siblings)
17 siblings, 0 replies; 26+ messages in thread
From: Thomas Gleixner @ 2009-03-11 0:45 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton, Ingo Molnar, Paul Mundt
[-- Attachment #1: sh-convert-obsolete-no-irq-type.patch --]
[-- Type: text/plain, Size: 812 bytes --]
Impact: cleanup
convert the last remaining users to no_irq_chip
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
CC: Paul Mundt <lethal@linux-sh.org>
---
arch/sh/kernel/sh_ksyms_32.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Index: linux-2.6/arch/sh/kernel/sh_ksyms_32.c
===================================================================
--- linux-2.6.orig/arch/sh/kernel/sh_ksyms_32.c
+++ linux-2.6/arch/sh/kernel/sh_ksyms_32.c
@@ -19,13 +19,12 @@
#include <asm/ftrace.h>
extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
-extern struct hw_interrupt_type no_irq_type;
/* platform dependent support */
EXPORT_SYMBOL(dump_fpu);
EXPORT_SYMBOL(kernel_thread);
EXPORT_SYMBOL(irq_desc);
-EXPORT_SYMBOL(no_irq_type);
+EXPORT_SYMBOL(no_irq_chip);
EXPORT_SYMBOL(strlen);
^ permalink raw reply [flat|nested] 26+ messages in thread* [patch 05/18] ia64: convert obsolete irq_desc_t to struct irq_desc
2009-03-11 0:45 [patch 00/18] Remove obsolete genirq defines and typedefs Thomas Gleixner
` (3 preceding siblings ...)
2009-03-11 0:45 ` [patch 04/18] sh: " Thomas Gleixner
@ 2009-03-11 0:45 ` Thomas Gleixner
2009-03-11 0:45 ` [patch 06/18] drivers/mfd: " Thomas Gleixner
` (12 subsequent siblings)
17 siblings, 0 replies; 26+ messages in thread
From: Thomas Gleixner @ 2009-03-11 0:45 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton, Ingo Molnar, Tony Luck
[-- Attachment #1: ia64-convert-obsolete-irq-desc-t-typedef.patch --]
[-- Type: text/plain, Size: 5219 bytes --]
Impact: cleanup
Convert the last remaining users to struct irq_desc.
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 | 6 +++---
arch/ia64/kernel/irq.c | 2 +-
arch/ia64/kernel/irq_ia64.c | 2 +-
arch/ia64/kernel/mca.c | 2 +-
arch/ia64/kernel/smpboot.c | 2 +-
arch/ia64/sn/kernel/irq.c | 4 ++--
arch/ia64/xen/irq_xen.c | 2 +-
9 files changed, 12 insertions(+), 12 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
@@ -40,7 +40,7 @@ static struct hw_interrupt_type irq_type
void __init
hpsim_irq_init (void)
{
- irq_desc_t *idesc;
+ struct irq_desc *idesc;
int i;
for (i = 0; i < NR_IRQS; ++i) {
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
@@ -146,7 +146,7 @@ static inline void ia64_native_resend_ir
* Default implementations for the irq-descriptor API:
*/
-extern irq_desc_t irq_desc[NR_IRQS];
+extern struct irq_desc irq_desc[NR_IRQS];
#ifndef CONFIG_IA64_GENERIC
static inline ia64_vector __ia64_irq_to_vector(int irq)
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
@@ -449,7 +449,7 @@ iosapic_startup_edge_irq (unsigned int i
static void
iosapic_ack_edge_irq (unsigned int irq)
{
- irq_desc_t *idesc = irq_desc + irq;
+ struct irq_desc *idesc = irq_desc + irq;
irq_complete_move(irq);
move_native_irq(irq);
@@ -598,7 +598,7 @@ static int
register_intr (unsigned int gsi, int irq, unsigned char delivery,
unsigned long polarity, unsigned long trigger)
{
- irq_desc_t *idesc;
+ struct irq_desc *idesc;
struct hw_interrupt_type *irq_type;
int index;
struct iosapic_rte_info *rte;
@@ -826,7 +826,7 @@ iosapic_unregister_intr (unsigned int gs
{
unsigned long flags;
int irq, index;
- irq_desc_t *idesc;
+ struct irq_desc *idesc;
u32 low32;
unsigned long trigger, polarity;
unsigned int dest;
Index: linux-2.6/arch/ia64/kernel/irq.c
===================================================================
--- linux-2.6.orig/arch/ia64/kernel/irq.c
+++ linux-2.6/arch/ia64/kernel/irq.c
@@ -130,7 +130,7 @@ unsigned int vectors_in_migration[NR_IRQ
*/
static void migrate_irqs(void)
{
- irq_desc_t *desc;
+ struct irq_desc *desc;
int irq, new_cpu;
for (irq=0; irq < NR_IRQS; irq++) {
Index: linux-2.6/arch/ia64/kernel/irq_ia64.c
===================================================================
--- linux-2.6.orig/arch/ia64/kernel/irq_ia64.c
+++ linux-2.6/arch/ia64/kernel/irq_ia64.c
@@ -624,7 +624,7 @@ static struct irqaction tlb_irqaction =
void
ia64_native_register_percpu_irq (ia64_vector vec, struct irqaction *action)
{
- irq_desc_t *desc;
+ struct irq_desc *desc;
unsigned int irq;
irq = vec;
Index: linux-2.6/arch/ia64/kernel/mca.c
===================================================================
--- linux-2.6.orig/arch/ia64/kernel/mca.c
+++ linux-2.6/arch/ia64/kernel/mca.c
@@ -2093,7 +2093,7 @@ ia64_mca_late_init(void)
cpe_poll_timer.function = ia64_mca_cpe_poll;
{
- irq_desc_t *desc;
+ struct irq_desc *desc;
unsigned int irq;
if (cpe_vector >= 0) {
Index: linux-2.6/arch/ia64/kernel/smpboot.c
===================================================================
--- linux-2.6.orig/arch/ia64/kernel/smpboot.c
+++ linux-2.6/arch/ia64/kernel/smpboot.c
@@ -681,7 +681,7 @@ extern void fixup_irqs(void);
int migrate_platform_irqs(unsigned int cpu)
{
int new_cpei_cpu;
- irq_desc_t *desc = NULL;
+ struct irq_desc *desc = NULL;
const struct cpumask *mask;
int retval = 0;
Index: linux-2.6/arch/ia64/sn/kernel/irq.c
===================================================================
--- linux-2.6.orig/arch/ia64/sn/kernel/irq.c
+++ linux-2.6/arch/ia64/sn/kernel/irq.c
@@ -293,7 +293,7 @@ unsigned int sn_local_vector_to_irq(u8 v
void sn_irq_init(void)
{
int i;
- irq_desc_t *base_desc = irq_desc;
+ struct irq_desc *base_desc = irq_desc;
ia64_first_device_vector = IA64_SN2_FIRST_DEVICE_VECTOR;
ia64_last_device_vector = IA64_SN2_LAST_DEVICE_VECTOR;
@@ -375,7 +375,7 @@ void sn_irq_fixup(struct pci_dev *pci_de
int cpu = nasid_slice_to_cpuid(nasid, slice);
#ifdef CONFIG_SMP
int cpuphys;
- irq_desc_t *desc;
+ struct irq_desc *desc;
#endif
pci_dev_get(pci_dev);
Index: linux-2.6/arch/ia64/xen/irq_xen.c
===================================================================
--- linux-2.6.orig/arch/ia64/xen/irq_xen.c
+++ linux-2.6/arch/ia64/xen/irq_xen.c
@@ -138,7 +138,7 @@ static void
__xen_register_percpu_irq(unsigned int cpu, unsigned int vec,
struct irqaction *action, int save)
{
- irq_desc_t *desc;
+ struct irq_desc *desc;
int irq = 0;
if (xen_slab_ready) {
^ permalink raw reply [flat|nested] 26+ messages in thread* [patch 06/18] drivers/mfd: convert obsolete irq_desc_t to struct irq_desc
2009-03-11 0:45 [patch 00/18] Remove obsolete genirq defines and typedefs Thomas Gleixner
` (4 preceding siblings ...)
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 ` Thomas Gleixner
2009-03-11 0:45 ` [patch 07/18] mips: " Thomas Gleixner
` (11 subsequent siblings)
17 siblings, 0 replies; 26+ messages in thread
From: Thomas Gleixner @ 2009-03-11 0:45 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton, Ingo Molnar, David Brownell
[-- Attachment #1: mfd-convert-obsolete-irq-desc-t-typedef.patch --]
[-- Type: text/plain, Size: 852 bytes --]
Impact: cleanup
Convert the last remaining users to struct irq_desc.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
CC: David Brownell <dbrownell@users.sourceforge.net>
---
drivers/mfd/twl4030-irq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/drivers/mfd/twl4030-irq.c
===================================================================
--- linux-2.6.orig/drivers/mfd/twl4030-irq.c
+++ linux-2.6/drivers/mfd/twl4030-irq.c
@@ -255,7 +255,7 @@ static int twl4030_irq_thread(void *data
* thread. All we do here is acknowledge and mask the interrupt and wakeup
* the kernel thread.
*/
-static void handle_twl4030_pih(unsigned int irq, irq_desc_t *desc)
+static void handle_twl4030_pih(unsigned int irq, struct irq_desc *desc)
{
/* Acknowledge, clear *AND* mask the interrupt... */
desc->chip->ack(irq);
^ permalink raw reply [flat|nested] 26+ messages in thread* [patch 07/18] mips: convert obsolete irq_desc_t to struct irq_desc
2009-03-11 0:45 [patch 00/18] Remove obsolete genirq defines and typedefs Thomas Gleixner
` (5 preceding siblings ...)
2009-03-11 0:45 ` [patch 06/18] drivers/mfd: " Thomas Gleixner
@ 2009-03-11 0:45 ` 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
` (10 subsequent siblings)
17 siblings, 2 replies; 26+ messages in thread
From: Thomas Gleixner @ 2009-03-11 0:45 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton, Ingo Molnar, Ralf Baechle
[-- Attachment #1: mips-convert-obsolete-irq-desc-t-typedef.patch --]
[-- Type: text/plain, Size: 800 bytes --]
Impact: cleanup
Convert the last remaining users to struct irq_desc.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
CC: Ralf Baechle <ralf@linux-mips.org>
---
arch/mips/cavium-octeon/octeon-irq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/arch/mips/cavium-octeon/octeon-irq.c
===================================================================
--- linux-2.6.orig/arch/mips/cavium-octeon/octeon-irq.c
+++ linux-2.6/arch/mips/cavium-octeon/octeon-irq.c
@@ -31,7 +31,7 @@ static void octeon_irq_core_ack(unsigned
static void octeon_irq_core_eoi(unsigned int irq)
{
- irq_desc_t *desc = irq_desc + irq;
+ struct irq_desc *desc = irq_desc + irq;
unsigned int bit = irq - OCTEON_IRQ_SW0;
/*
* If an IRQ is being processed while we are disabling it the
^ permalink raw reply [flat|nested] 26+ messages in thread* Re: [patch 07/18] mips: convert obsolete irq_desc_t to struct irq_desc
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
1 sibling, 0 replies; 26+ messages in thread
From: David Daney @ 2009-03-11 16:00 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: LKML, Andrew Morton, Ingo Molnar, Ralf Baechle
Thomas Gleixner wrote:
> Impact: cleanup
>
> Convert the last remaining users to struct irq_desc.
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> CC: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
My boards still boot with this patch.
Thanks,
David Daney
>
> ---
> arch/mips/cavium-octeon/octeon-irq.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: linux-2.6/arch/mips/cavium-octeon/octeon-irq.c
> ===================================================================
> --- linux-2.6.orig/arch/mips/cavium-octeon/octeon-irq.c
> +++ linux-2.6/arch/mips/cavium-octeon/octeon-irq.c
> @@ -31,7 +31,7 @@ static void octeon_irq_core_ack(unsigned
>
> static void octeon_irq_core_eoi(unsigned int irq)
> {
> - irq_desc_t *desc = irq_desc + irq;
> + struct irq_desc *desc = irq_desc + irq;
> unsigned int bit = irq - OCTEON_IRQ_SW0;
> /*
> * If an IRQ is being processed while we are disabling it the
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 26+ messages in thread* Re: [patch 07/18] mips: convert obsolete irq_desc_t to struct irq_desc
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
1 sibling, 0 replies; 26+ messages in thread
From: Ralf Baechle @ 2009-03-11 17:31 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: LKML, Andrew Morton, Ingo Molnar
On Wed, Mar 11, 2009 at 12:45:51AM -0000, Thomas Gleixner wrote:
Thanks, queued for 2.6.30.
Ralf
^ permalink raw reply [flat|nested] 26+ messages in thread
* [patch 08/18] powerpc: convert obsolete irq_desc_t to struct irq_desc
2009-03-11 0:45 [patch 00/18] Remove obsolete genirq defines and typedefs Thomas Gleixner
` (6 preceding siblings ...)
2009-03-11 0:45 ` [patch 07/18] mips: " Thomas Gleixner
@ 2009-03-11 0:45 ` Thomas Gleixner
2009-03-11 2:19 ` Benjamin Herrenschmidt
2009-03-11 0:45 ` [patch 09/18] x86: " Thomas Gleixner
` (9 subsequent siblings)
17 siblings, 1 reply; 26+ messages in thread
From: Thomas Gleixner @ 2009-03-11 0:45 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton, Ingo Molnar, Benjamin Herrenschmidt, linuxppc-dev
[-- Attachment #1: powerpc-convert-obsolete-irq-desc-t-typedef.patch --]
[-- Type: text/plain, Size: 1495 bytes --]
Impact: cleanup
Convert the last remaining users.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: linuxppc-dev@ozlabs.org
---
arch/powerpc/kernel/irq.c | 4 ++--
arch/powerpc/platforms/iseries/irq.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
Index: linux-2.6/arch/powerpc/kernel/irq.c
===================================================================
--- linux-2.6.orig/arch/powerpc/kernel/irq.c
+++ linux-2.6/arch/powerpc/kernel/irq.c
@@ -171,7 +171,7 @@ int show_interrupts(struct seq_file *p,
{
int i = *(loff_t *)v, j;
struct irqaction *action;
- irq_desc_t *desc;
+ struct irq_desc *desc;
unsigned long flags;
if (i == 0) {
@@ -1038,7 +1038,7 @@ arch_initcall(irq_late_init);
static int virq_debug_show(struct seq_file *m, void *private)
{
unsigned long flags;
- irq_desc_t *desc;
+ struct irq_desc *desc;
const char *p;
char none[] = "none";
int i;
Index: linux-2.6/arch/powerpc/platforms/iseries/irq.c
===================================================================
--- linux-2.6.orig/arch/powerpc/platforms/iseries/irq.c
+++ linux-2.6/arch/powerpc/platforms/iseries/irq.c
@@ -214,7 +214,7 @@ void __init iSeries_activate_IRQs()
unsigned long flags;
for_each_irq (irq) {
- irq_desc_t *desc = get_irq_desc(irq);
+ struct irq_desc *desc = get_irq_desc(irq);
if (desc && desc->chip && desc->chip->startup) {
spin_lock_irqsave(&desc->lock, flags);
^ permalink raw reply [flat|nested] 26+ messages in thread* Re: [patch 08/18] powerpc: convert obsolete irq_desc_t to struct irq_desc
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
0 siblings, 1 reply; 26+ messages in thread
From: Benjamin Herrenschmidt @ 2009-03-11 2:19 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: LKML, Andrew Morton, Ingo Molnar, linuxppc-dev
On Wed, 2009-03-11 at 00:45 +0000, Thomas Gleixner wrote:
> plain text document attachment
> (powerpc-convert-obsolete-irq-desc-t-typedef.patch)
> Impact: cleanup
>
> Convert the last remaining users.
Ack. This would be more easily carried in my -next tree if that's ok
with you.
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> CC: linuxppc-dev@ozlabs.org
> ---
> arch/powerpc/kernel/irq.c | 4 ++--
> arch/powerpc/platforms/iseries/irq.c | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> Index: linux-2.6/arch/powerpc/kernel/irq.c
> ===================================================================
> --- linux-2.6.orig/arch/powerpc/kernel/irq.c
> +++ linux-2.6/arch/powerpc/kernel/irq.c
> @@ -171,7 +171,7 @@ int show_interrupts(struct seq_file *p,
> {
> int i = *(loff_t *)v, j;
> struct irqaction *action;
> - irq_desc_t *desc;
> + struct irq_desc *desc;
> unsigned long flags;
>
> if (i == 0) {
> @@ -1038,7 +1038,7 @@ arch_initcall(irq_late_init);
> static int virq_debug_show(struct seq_file *m, void *private)
> {
> unsigned long flags;
> - irq_desc_t *desc;
> + struct irq_desc *desc;
> const char *p;
> char none[] = "none";
> int i;
> Index: linux-2.6/arch/powerpc/platforms/iseries/irq.c
> ===================================================================
> --- linux-2.6.orig/arch/powerpc/platforms/iseries/irq.c
> +++ linux-2.6/arch/powerpc/platforms/iseries/irq.c
> @@ -214,7 +214,7 @@ void __init iSeries_activate_IRQs()
> unsigned long flags;
>
> for_each_irq (irq) {
> - irq_desc_t *desc = get_irq_desc(irq);
> + struct irq_desc *desc = get_irq_desc(irq);
>
> if (desc && desc->chip && desc->chip->startup) {
> spin_lock_irqsave(&desc->lock, flags);
>
^ permalink raw reply [flat|nested] 26+ messages in thread* Re: [patch 08/18] powerpc: convert obsolete irq_desc_t to struct irq_desc
2009-03-11 2:19 ` Benjamin Herrenschmidt
@ 2009-03-11 7:59 ` Thomas Gleixner
0 siblings, 0 replies; 26+ messages in thread
From: Thomas Gleixner @ 2009-03-11 7:59 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: LKML, Andrew Morton, Ingo Molnar, linuxppc-dev
On Wed, 11 Mar 2009, Benjamin Herrenschmidt wrote:
> On Wed, 2009-03-11 at 00:45 +0000, Thomas Gleixner wrote:
> > plain text document attachment
> > (powerpc-convert-obsolete-irq-desc-t-typedef.patch)
> > Impact: cleanup
> >
> > Convert the last remaining users.
>
> Ack. This would be more easily carried in my -next tree if that's ok
> with you.
Sure. Thanks,
tglx
^ permalink raw reply [flat|nested] 26+ messages in thread
* [patch 09/18] x86: convert obsolete irq_desc_t to struct irq_desc
2009-03-11 0:45 [patch 00/18] Remove obsolete genirq defines and typedefs Thomas Gleixner
` (7 preceding siblings ...)
2009-03-11 0:45 ` [patch 08/18] powerpc: " Thomas Gleixner
@ 2009-03-11 0:45 ` Thomas Gleixner
2009-03-11 0:46 ` [patch 10/18] alpha: convert obsolete hw_interrupt_type to struct irq_chip Thomas Gleixner
` (8 subsequent siblings)
17 siblings, 0 replies; 26+ messages in thread
From: Thomas Gleixner @ 2009-03-11 0:45 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton, Ingo Molnar
[-- Attachment #1: x86-convert-obsolete-irq-desc-t-typedef.patch --]
[-- Type: text/plain, Size: 683 bytes --]
Impact: cleanup
Convert the last remaining users to struct irq_desc.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
arch/x86/kernel/visws_quirks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/arch/x86/kernel/visws_quirks.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/visws_quirks.c
+++ linux-2.6/arch/x86/kernel/visws_quirks.c
@@ -584,7 +584,7 @@ static struct irq_chip piix4_virtual_irq
static irqreturn_t piix4_master_intr(int irq, void *dev_id)
{
int realirq;
- irq_desc_t *desc;
+ struct irq_desc *desc;
unsigned long flags;
spin_lock_irqsave(&i8259A_lock, flags);
^ permalink raw reply [flat|nested] 26+ messages in thread* [patch 10/18] alpha: convert obsolete hw_interrupt_type to struct irq_chip
2009-03-11 0:45 [patch 00/18] Remove obsolete genirq defines and typedefs Thomas Gleixner
` (8 preceding siblings ...)
2009-03-11 0:45 ` [patch 09/18] x86: " Thomas Gleixner
@ 2009-03-11 0:46 ` Thomas Gleixner
2009-03-11 0:46 ` [patch 11/18] avr32: " Thomas Gleixner
` (7 subsequent siblings)
17 siblings, 0 replies; 26+ messages in thread
From: Thomas Gleixner @ 2009-03-11 0:46 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton, Ingo Molnar, Richard Henderson
[-- Attachment #1: alpha-convert-obsolete-hw-interrupt-type.patch --]
[-- Type: text/plain, Size: 12713 bytes --]
Impact: cleanup
Convert the last remaining users to struct irq_chip.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
CC: Richard Henderson <rth@twiddle.net>
---
arch/alpha/kernel/irq_alpha.c | 2 +-
arch/alpha/kernel/irq_i8259.c | 2 +-
arch/alpha/kernel/irq_impl.h | 2 +-
arch/alpha/kernel/irq_pyxis.c | 2 +-
arch/alpha/kernel/irq_srm.c | 2 +-
arch/alpha/kernel/sys_alcor.c | 2 +-
arch/alpha/kernel/sys_cabriolet.c | 2 +-
arch/alpha/kernel/sys_dp264.c | 6 +++---
arch/alpha/kernel/sys_eb64p.c | 2 +-
arch/alpha/kernel/sys_eiger.c | 2 +-
arch/alpha/kernel/sys_jensen.c | 2 +-
arch/alpha/kernel/sys_marvel.c | 10 +++++-----
arch/alpha/kernel/sys_mikasa.c | 2 +-
arch/alpha/kernel/sys_noritake.c | 2 +-
arch/alpha/kernel/sys_rawhide.c | 2 +-
arch/alpha/kernel/sys_rx164.c | 2 +-
arch/alpha/kernel/sys_sable.c | 2 +-
arch/alpha/kernel/sys_takara.c | 2 +-
arch/alpha/kernel/sys_titan.c | 4 ++--
arch/alpha/kernel/sys_wildfire.c | 2 +-
20 files changed, 27 insertions(+), 27 deletions(-)
Index: linux-2.6/arch/alpha/kernel/irq_alpha.c
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/irq_alpha.c
+++ linux-2.6/arch/alpha/kernel/irq_alpha.c
@@ -227,7 +227,7 @@ struct irqaction timer_irqaction = {
.name = "timer",
};
-static struct hw_interrupt_type rtc_irq_type = {
+static struct irq_chip rtc_irq_type = {
.typename = "RTC",
.startup = rtc_startup,
.shutdown = rtc_enable_disable,
Index: linux-2.6/arch/alpha/kernel/irq_i8259.c
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/irq_i8259.c
+++ linux-2.6/arch/alpha/kernel/irq_i8259.c
@@ -83,7 +83,7 @@ i8259a_end_irq(unsigned int irq)
i8259a_enable_irq(irq);
}
-struct hw_interrupt_type i8259a_irq_type = {
+struct irq_chip i8259a_irq_type = {
.typename = "XT-PIC",
.startup = i8259a_startup_irq,
.shutdown = i8259a_disable_irq,
Index: linux-2.6/arch/alpha/kernel/irq_impl.h
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/irq_impl.h
+++ linux-2.6/arch/alpha/kernel/irq_impl.h
@@ -36,7 +36,7 @@ extern void i8259a_disable_irq(unsigned
extern void i8259a_mask_and_ack_irq(unsigned int);
extern unsigned int i8259a_startup_irq(unsigned int);
extern void i8259a_end_irq(unsigned int);
-extern struct hw_interrupt_type i8259a_irq_type;
+extern struct irq_chip i8259a_irq_type;
extern void init_i8259a_irqs(void);
extern void handle_irq(int irq);
Index: linux-2.6/arch/alpha/kernel/irq_pyxis.c
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/irq_pyxis.c
+++ linux-2.6/arch/alpha/kernel/irq_pyxis.c
@@ -70,7 +70,7 @@ pyxis_mask_and_ack_irq(unsigned int irq)
*(vulp)PYXIS_INT_MASK;
}
-static struct hw_interrupt_type pyxis_irq_type = {
+static struct irq_chip pyxis_irq_type = {
.typename = "PYXIS",
.startup = pyxis_startup_irq,
.shutdown = pyxis_disable_irq,
Index: linux-2.6/arch/alpha/kernel/irq_srm.c
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/irq_srm.c
+++ linux-2.6/arch/alpha/kernel/irq_srm.c
@@ -48,7 +48,7 @@ srm_end_irq(unsigned int irq)
}
/* Handle interrupts from the SRM, assuming no additional weirdness. */
-static struct hw_interrupt_type srm_irq_type = {
+static struct irq_chip srm_irq_type = {
.typename = "SRM",
.startup = srm_startup_irq,
.shutdown = srm_disable_irq,
Index: linux-2.6/arch/alpha/kernel/sys_alcor.c
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/sys_alcor.c
+++ linux-2.6/arch/alpha/kernel/sys_alcor.c
@@ -89,7 +89,7 @@ alcor_end_irq(unsigned int irq)
alcor_enable_irq(irq);
}
-static struct hw_interrupt_type alcor_irq_type = {
+static struct irq_chip alcor_irq_type = {
.typename = "ALCOR",
.startup = alcor_startup_irq,
.shutdown = alcor_disable_irq,
Index: linux-2.6/arch/alpha/kernel/sys_cabriolet.c
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/sys_cabriolet.c
+++ linux-2.6/arch/alpha/kernel/sys_cabriolet.c
@@ -71,7 +71,7 @@ cabriolet_end_irq(unsigned int irq)
cabriolet_enable_irq(irq);
}
-static struct hw_interrupt_type cabriolet_irq_type = {
+static struct irq_chip cabriolet_irq_type = {
.typename = "CABRIOLET",
.startup = cabriolet_startup_irq,
.shutdown = cabriolet_disable_irq,
Index: linux-2.6/arch/alpha/kernel/sys_dp264.c
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/sys_dp264.c
+++ linux-2.6/arch/alpha/kernel/sys_dp264.c
@@ -194,7 +194,7 @@ clipper_set_affinity(unsigned int irq, c
spin_unlock(&dp264_irq_lock);
}
-static struct hw_interrupt_type dp264_irq_type = {
+static struct irq_chip dp264_irq_type = {
.typename = "DP264",
.startup = dp264_startup_irq,
.shutdown = dp264_disable_irq,
@@ -205,7 +205,7 @@ static struct hw_interrupt_type dp264_ir
.set_affinity = dp264_set_affinity,
};
-static struct hw_interrupt_type clipper_irq_type = {
+static struct irq_chip clipper_irq_type = {
.typename = "CLIPPER",
.startup = clipper_startup_irq,
.shutdown = clipper_disable_irq,
@@ -294,7 +294,7 @@ clipper_srm_device_interrupt(unsigned lo
}
static void __init
-init_tsunami_irqs(struct hw_interrupt_type * ops, int imin, int imax)
+init_tsunami_irqs(struct irq_chip * ops, int imin, int imax)
{
long i;
for (i = imin; i <= imax; ++i) {
Index: linux-2.6/arch/alpha/kernel/sys_eb64p.c
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/sys_eb64p.c
+++ linux-2.6/arch/alpha/kernel/sys_eb64p.c
@@ -69,7 +69,7 @@ eb64p_end_irq(unsigned int irq)
eb64p_enable_irq(irq);
}
-static struct hw_interrupt_type eb64p_irq_type = {
+static struct irq_chip eb64p_irq_type = {
.typename = "EB64P",
.startup = eb64p_startup_irq,
.shutdown = eb64p_disable_irq,
Index: linux-2.6/arch/alpha/kernel/sys_eiger.c
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/sys_eiger.c
+++ linux-2.6/arch/alpha/kernel/sys_eiger.c
@@ -80,7 +80,7 @@ eiger_end_irq(unsigned int irq)
eiger_enable_irq(irq);
}
-static struct hw_interrupt_type eiger_irq_type = {
+static struct irq_chip eiger_irq_type = {
.typename = "EIGER",
.startup = eiger_startup_irq,
.shutdown = eiger_disable_irq,
Index: linux-2.6/arch/alpha/kernel/sys_jensen.c
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/sys_jensen.c
+++ linux-2.6/arch/alpha/kernel/sys_jensen.c
@@ -118,7 +118,7 @@ jensen_local_end(unsigned int irq)
i8259a_end_irq(1);
}
-static struct hw_interrupt_type jensen_local_irq_type = {
+static struct irq_chip jensen_local_irq_type = {
.typename = "LOCAL",
.startup = jensen_local_startup,
.shutdown = jensen_local_shutdown,
Index: linux-2.6/arch/alpha/kernel/sys_marvel.c
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/sys_marvel.c
+++ linux-2.6/arch/alpha/kernel/sys_marvel.c
@@ -169,7 +169,7 @@ marvel_irq_noop_return(unsigned int irq)
return 0;
}
-static struct hw_interrupt_type marvel_legacy_irq_type = {
+static struct irq_chip marvel_legacy_irq_type = {
.typename = "LEGACY",
.startup = marvel_irq_noop_return,
.shutdown = marvel_irq_noop,
@@ -179,7 +179,7 @@ static struct hw_interrupt_type marvel_l
.end = marvel_irq_noop,
};
-static struct hw_interrupt_type io7_lsi_irq_type = {
+static struct irq_chip io7_lsi_irq_type = {
.typename = "LSI",
.startup = io7_startup_irq,
.shutdown = io7_disable_irq,
@@ -189,7 +189,7 @@ static struct hw_interrupt_type io7_lsi_
.end = io7_end_irq,
};
-static struct hw_interrupt_type io7_msi_irq_type = {
+static struct irq_chip io7_msi_irq_type = {
.typename = "MSI",
.startup = io7_startup_irq,
.shutdown = io7_disable_irq,
@@ -273,8 +273,8 @@ init_one_io7_msi(struct io7 *io7, unsign
static void __init
init_io7_irqs(struct io7 *io7,
- struct hw_interrupt_type *lsi_ops,
- struct hw_interrupt_type *msi_ops)
+ struct irq_chip *lsi_ops,
+ struct irq_chip *msi_ops)
{
long base = (io7->pe << MARVEL_IRQ_VEC_PE_SHIFT) + 16;
long i;
Index: linux-2.6/arch/alpha/kernel/sys_mikasa.c
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/sys_mikasa.c
+++ linux-2.6/arch/alpha/kernel/sys_mikasa.c
@@ -68,7 +68,7 @@ mikasa_end_irq(unsigned int irq)
mikasa_enable_irq(irq);
}
-static struct hw_interrupt_type mikasa_irq_type = {
+static struct irq_chip mikasa_irq_type = {
.typename = "MIKASA",
.startup = mikasa_startup_irq,
.shutdown = mikasa_disable_irq,
Index: linux-2.6/arch/alpha/kernel/sys_noritake.c
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/sys_noritake.c
+++ linux-2.6/arch/alpha/kernel/sys_noritake.c
@@ -73,7 +73,7 @@ noritake_end_irq(unsigned int irq)
noritake_enable_irq(irq);
}
-static struct hw_interrupt_type noritake_irq_type = {
+static struct irq_chip noritake_irq_type = {
.typename = "NORITAKE",
.startup = noritake_startup_irq,
.shutdown = noritake_disable_irq,
Index: linux-2.6/arch/alpha/kernel/sys_rawhide.c
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/sys_rawhide.c
+++ linux-2.6/arch/alpha/kernel/sys_rawhide.c
@@ -135,7 +135,7 @@ rawhide_end_irq(unsigned int irq)
rawhide_enable_irq(irq);
}
-static struct hw_interrupt_type rawhide_irq_type = {
+static struct irq_chip rawhide_irq_type = {
.typename = "RAWHIDE",
.startup = rawhide_startup_irq,
.shutdown = rawhide_disable_irq,
Index: linux-2.6/arch/alpha/kernel/sys_rx164.c
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/sys_rx164.c
+++ linux-2.6/arch/alpha/kernel/sys_rx164.c
@@ -72,7 +72,7 @@ rx164_end_irq(unsigned int irq)
rx164_enable_irq(irq);
}
-static struct hw_interrupt_type rx164_irq_type = {
+static struct irq_chip rx164_irq_type = {
.typename = "RX164",
.startup = rx164_startup_irq,
.shutdown = rx164_disable_irq,
Index: linux-2.6/arch/alpha/kernel/sys_sable.c
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/sys_sable.c
+++ linux-2.6/arch/alpha/kernel/sys_sable.c
@@ -501,7 +501,7 @@ sable_lynx_mask_and_ack_irq(unsigned int
spin_unlock(&sable_lynx_irq_lock);
}
-static struct hw_interrupt_type sable_lynx_irq_type = {
+static struct irq_chip sable_lynx_irq_type = {
.typename = "SABLE/LYNX",
.startup = sable_lynx_startup_irq,
.shutdown = sable_lynx_disable_irq,
Index: linux-2.6/arch/alpha/kernel/sys_takara.c
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/sys_takara.c
+++ linux-2.6/arch/alpha/kernel/sys_takara.c
@@ -74,7 +74,7 @@ takara_end_irq(unsigned int irq)
takara_enable_irq(irq);
}
-static struct hw_interrupt_type takara_irq_type = {
+static struct irq_chip takara_irq_type = {
.typename = "TAKARA",
.startup = takara_startup_irq,
.shutdown = takara_disable_irq,
Index: linux-2.6/arch/alpha/kernel/sys_titan.c
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/sys_titan.c
+++ linux-2.6/arch/alpha/kernel/sys_titan.c
@@ -183,7 +183,7 @@ titan_srm_device_interrupt(unsigned long
static void __init
-init_titan_irqs(struct hw_interrupt_type * ops, int imin, int imax)
+init_titan_irqs(struct irq_chip * ops, int imin, int imax)
{
long i;
for (i = imin; i <= imax; ++i) {
@@ -192,7 +192,7 @@ init_titan_irqs(struct hw_interrupt_type
}
}
-static struct hw_interrupt_type titan_irq_type = {
+static struct irq_chip titan_irq_type = {
.typename = "TITAN",
.startup = titan_startup_irq,
.shutdown = titan_disable_irq,
Index: linux-2.6/arch/alpha/kernel/sys_wildfire.c
===================================================================
--- linux-2.6.orig/arch/alpha/kernel/sys_wildfire.c
+++ linux-2.6/arch/alpha/kernel/sys_wildfire.c
@@ -157,7 +157,7 @@ wildfire_end_irq(unsigned int irq)
wildfire_enable_irq(irq);
}
-static struct hw_interrupt_type wildfire_irq_type = {
+static struct irq_chip wildfire_irq_type = {
.typename = "WILDFIRE",
.startup = wildfire_startup_irq,
.shutdown = wildfire_disable_irq,
^ permalink raw reply [flat|nested] 26+ messages in thread* [patch 11/18] avr32: convert obsolete hw_interrupt_type to struct irq_chip
2009-03-11 0:45 [patch 00/18] Remove obsolete genirq defines and typedefs Thomas Gleixner
` (9 preceding siblings ...)
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 ` Thomas Gleixner
2009-03-11 0:46 ` [patch 12/18] cris: " Thomas Gleixner
` (6 subsequent siblings)
17 siblings, 0 replies; 26+ messages in thread
From: Thomas Gleixner @ 2009-03-11 0:46 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton, Ingo Molnar, Haavard Skinnemoen
[-- Attachment #1: avr32-convert-obsolete-hw-interrupt-type.patch --]
[-- Type: text/plain, Size: 736 bytes --]
Impact: cleanup
Convert the last remaining users to struct irq_chip.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
CC: Haavard Skinnemoen <skinnemoen@atmel.com>
---
arch/avr32/include/asm/hw_irq.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/arch/avr32/include/asm/hw_irq.h
===================================================================
--- linux-2.6.orig/arch/avr32/include/asm/hw_irq.h
+++ linux-2.6/arch/avr32/include/asm/hw_irq.h
@@ -1,7 +1,7 @@
#ifndef __ASM_AVR32_HW_IRQ_H
#define __ASM_AVR32_HW_IRQ_H
-static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i)
+static inline void hw_resend_irq(struct irq_chip *h, unsigned int i)
{
/* Nothing to do */
}
^ permalink raw reply [flat|nested] 26+ messages in thread* [patch 12/18] cris: convert obsolete hw_interrupt_type to struct irq_chip
2009-03-11 0:45 [patch 00/18] Remove obsolete genirq defines and typedefs Thomas Gleixner
` (10 preceding siblings ...)
2009-03-11 0:46 ` [patch 11/18] avr32: " Thomas Gleixner
@ 2009-03-11 0:46 ` Thomas Gleixner
2009-04-02 12:31 ` Jesper Nilsson
2009-03-11 0:46 ` [patch 13/18] ia64: " Thomas Gleixner
` (5 subsequent siblings)
17 siblings, 1 reply; 26+ messages in thread
From: Thomas Gleixner @ 2009-03-11 0:46 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton, Ingo Molnar, Mikael Starvik
[-- Attachment #1: cris-convert-obsolete-hw-interrupt-type.patch --]
[-- Type: text/plain, Size: 1320 bytes --]
Impact: cleanup
Convert the last remaining users to struct irq_chip.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
CC: Mikael Starvik <starvik@axis.com>
---
arch/cris/arch-v10/kernel/irq.c | 2 +-
arch/cris/arch-v32/kernel/irq.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6/arch/cris/arch-v10/kernel/irq.c
===================================================================
--- linux-2.6.orig/arch/cris/arch-v10/kernel/irq.c
+++ linux-2.6/arch/cris/arch-v10/kernel/irq.c
@@ -132,7 +132,7 @@ static void end_crisv10_irq(unsigned int
{
}
-static struct hw_interrupt_type crisv10_irq_type = {
+static struct irq_chip crisv10_irq_type = {
.typename = "CRISv10",
.startup = startup_crisv10_irq,
.shutdown = shutdown_crisv10_irq,
Index: linux-2.6/arch/cris/arch-v32/kernel/irq.c
===================================================================
--- linux-2.6.orig/arch/cris/arch-v32/kernel/irq.c
+++ linux-2.6/arch/cris/arch-v32/kernel/irq.c
@@ -333,7 +333,7 @@ void set_affinity_crisv32_irq(unsigned i
spin_unlock_irqrestore(&irq_lock, flags);
}
-static struct hw_interrupt_type crisv32_irq_type = {
+static struct irq_chip crisv32_irq_type = {
.typename = "CRISv32",
.startup = startup_crisv32_irq,
.shutdown = shutdown_crisv32_irq,
^ permalink raw reply [flat|nested] 26+ messages in thread* Re: [patch 12/18] cris: convert obsolete hw_interrupt_type to struct irq_chip
2009-03-11 0:46 ` [patch 12/18] cris: " Thomas Gleixner
@ 2009-04-02 12:31 ` Jesper Nilsson
0 siblings, 0 replies; 26+ messages in thread
From: Jesper Nilsson @ 2009-04-02 12:31 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: LKML, Andrew Morton, Ingo Molnar, Mikael Starvik
On Wed, Mar 11, 2009 at 01:46:11AM +0100, Thomas Gleixner wrote:
> Impact: cleanup
>
> Convert the last remaining users to struct irq_chip.
Thanks, adding it to the CRIS tree.
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> CC: Mikael Starvik <starvik@axis.com>
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@axis.com
^ permalink raw reply [flat|nested] 26+ messages in thread
* [patch 13/18] ia64: convert obsolete hw_interrupt_type to struct irq_chip
2009-03-11 0:45 [patch 00/18] Remove obsolete genirq defines and typedefs Thomas Gleixner
` (11 preceding siblings ...)
2009-03-11 0:46 ` [patch 12/18] cris: " Thomas Gleixner
@ 2009-03-11 0:46 ` Thomas Gleixner
2009-03-11 0:46 ` [patch 14/18] m32r: " Thomas Gleixner
` (4 subsequent siblings)
17 siblings, 0 replies; 26+ messages in thread
From: Thomas Gleixner @ 2009-03-11 0:46 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton, Ingo Molnar, Tony Luck
[-- 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,
^ permalink raw reply [flat|nested] 26+ messages in thread* [patch 14/18] m32r: convert obsolete hw_interrupt_type to struct irq_chip
2009-03-11 0:45 [patch 00/18] Remove obsolete genirq defines and typedefs Thomas Gleixner
` (12 preceding siblings ...)
2009-03-11 0:46 ` [patch 13/18] ia64: " Thomas Gleixner
@ 2009-03-11 0:46 ` Thomas Gleixner
2009-03-11 0:46 ` [patch 15/18] parisc: " Thomas Gleixner
` (3 subsequent siblings)
17 siblings, 0 replies; 26+ messages in thread
From: Thomas Gleixner @ 2009-03-11 0:46 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton, Ingo Molnar, Hirokazu Takata
[-- Attachment #1: m32r-convert-obsolete-hw-interrupt-type.patch --]
[-- Type: text/plain, Size: 6429 bytes --]
Impact: cleanup
Convert the last remaining users to struct irq_chip.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
CC: Hirokazu Takata <takata@linux-m32r.org>
---
arch/m32r/platforms/m32104ut/setup.c | 2 +-
arch/m32r/platforms/m32700ut/setup.c | 8 ++++----
arch/m32r/platforms/mappi/setup.c | 2 +-
arch/m32r/platforms/mappi2/setup.c | 2 +-
arch/m32r/platforms/mappi3/setup.c | 2 +-
arch/m32r/platforms/oaks32r/setup.c | 2 +-
arch/m32r/platforms/opsput/setup.c | 8 ++++----
arch/m32r/platforms/usrv/setup.c | 4 ++--
8 files changed, 15 insertions(+), 15 deletions(-)
Index: linux-2.6/arch/m32r/platforms/m32104ut/setup.c
===================================================================
--- linux-2.6.orig/arch/m32r/platforms/m32104ut/setup.c
+++ linux-2.6/arch/m32r/platforms/m32104ut/setup.c
@@ -63,7 +63,7 @@ static void shutdown_m32104ut_irq(unsign
outl(M32R_ICUCR_ILEVEL7, port);
}
-static struct hw_interrupt_type m32104ut_irq_type =
+static struct irq_chip m32104ut_irq_type =
{
.typename = "M32104UT-IRQ",
.startup = startup_m32104ut_irq,
Index: linux-2.6/arch/m32r/platforms/m32700ut/setup.c
===================================================================
--- linux-2.6.orig/arch/m32r/platforms/m32700ut/setup.c
+++ linux-2.6/arch/m32r/platforms/m32700ut/setup.c
@@ -69,7 +69,7 @@ static void shutdown_m32700ut_irq(unsign
outl(M32R_ICUCR_ILEVEL7, port);
}
-static struct hw_interrupt_type m32700ut_irq_type =
+static struct irq_chip m32700ut_irq_type =
{
.typename = "M32700UT-IRQ",
.startup = startup_m32700ut_irq,
@@ -146,7 +146,7 @@ static void shutdown_m32700ut_pld_irq(un
outw(PLD_ICUCR_ILEVEL7, port);
}
-static struct hw_interrupt_type m32700ut_pld_irq_type =
+static struct irq_chip m32700ut_pld_irq_type =
{
.typename = "M32700UT-PLD-IRQ",
.startup = startup_m32700ut_pld_irq,
@@ -215,7 +215,7 @@ static void shutdown_m32700ut_lanpld_irq
outw(PLD_ICUCR_ILEVEL7, port);
}
-static struct hw_interrupt_type m32700ut_lanpld_irq_type =
+static struct irq_chip m32700ut_lanpld_irq_type =
{
.typename = "M32700UT-PLD-LAN-IRQ",
.startup = startup_m32700ut_lanpld_irq,
@@ -284,7 +284,7 @@ static void shutdown_m32700ut_lcdpld_irq
outw(PLD_ICUCR_ILEVEL7, port);
}
-static struct hw_interrupt_type m32700ut_lcdpld_irq_type =
+static struct irq_chip m32700ut_lcdpld_irq_type =
{
.typename = "M32700UT-PLD-LCD-IRQ",
.startup = startup_m32700ut_lcdpld_irq,
Index: linux-2.6/arch/m32r/platforms/mappi/setup.c
===================================================================
--- linux-2.6.orig/arch/m32r/platforms/mappi/setup.c
+++ linux-2.6/arch/m32r/platforms/mappi/setup.c
@@ -63,7 +63,7 @@ static void shutdown_mappi_irq(unsigned
outl(M32R_ICUCR_ILEVEL7, port);
}
-static struct hw_interrupt_type mappi_irq_type =
+static struct irq_chip mappi_irq_type =
{
.typename = "MAPPI-IRQ",
.startup = startup_mappi_irq,
Index: linux-2.6/arch/m32r/platforms/mappi2/setup.c
===================================================================
--- linux-2.6.orig/arch/m32r/platforms/mappi2/setup.c
+++ linux-2.6/arch/m32r/platforms/mappi2/setup.c
@@ -70,7 +70,7 @@ static void shutdown_mappi2_irq(unsigned
outl(M32R_ICUCR_ILEVEL7, port);
}
-static struct hw_interrupt_type mappi2_irq_type =
+static struct irq_chip mappi2_irq_type =
{
.typename = "MAPPI2-IRQ",
.startup = startup_mappi2_irq,
Index: linux-2.6/arch/m32r/platforms/mappi3/setup.c
===================================================================
--- linux-2.6.orig/arch/m32r/platforms/mappi3/setup.c
+++ linux-2.6/arch/m32r/platforms/mappi3/setup.c
@@ -70,7 +70,7 @@ static void shutdown_mappi3_irq(unsigned
outl(M32R_ICUCR_ILEVEL7, port);
}
-static struct hw_interrupt_type mappi3_irq_type =
+static struct irq_chip mappi3_irq_type =
{
.typename = "MAPPI3-IRQ",
.startup = startup_mappi3_irq,
Index: linux-2.6/arch/m32r/platforms/oaks32r/setup.c
===================================================================
--- linux-2.6.orig/arch/m32r/platforms/oaks32r/setup.c
+++ linux-2.6/arch/m32r/platforms/oaks32r/setup.c
@@ -61,7 +61,7 @@ static void shutdown_oaks32r_irq(unsigne
outl(M32R_ICUCR_ILEVEL7, port);
}
-static struct hw_interrupt_type oaks32r_irq_type =
+static struct irq_chip oaks32r_irq_type =
{
.typename = "OAKS32R-IRQ",
.startup = startup_oaks32r_irq,
Index: linux-2.6/arch/m32r/platforms/opsput/setup.c
===================================================================
--- linux-2.6.orig/arch/m32r/platforms/opsput/setup.c
+++ linux-2.6/arch/m32r/platforms/opsput/setup.c
@@ -70,7 +70,7 @@ static void shutdown_opsput_irq(unsigned
outl(M32R_ICUCR_ILEVEL7, port);
}
-static struct hw_interrupt_type opsput_irq_type =
+static struct irq_chip opsput_irq_type =
{
.typename = "OPSPUT-IRQ",
.startup = startup_opsput_irq,
@@ -147,7 +147,7 @@ static void shutdown_opsput_pld_irq(unsi
outw(PLD_ICUCR_ILEVEL7, port);
}
-static struct hw_interrupt_type opsput_pld_irq_type =
+static struct irq_chip opsput_pld_irq_type =
{
.typename = "OPSPUT-PLD-IRQ",
.startup = startup_opsput_pld_irq,
@@ -216,7 +216,7 @@ static void shutdown_opsput_lanpld_irq(u
outw(PLD_ICUCR_ILEVEL7, port);
}
-static struct hw_interrupt_type opsput_lanpld_irq_type =
+static struct irq_chip opsput_lanpld_irq_type =
{
.typename = "OPSPUT-PLD-LAN-IRQ",
.startup = startup_opsput_lanpld_irq,
@@ -285,7 +285,7 @@ static void shutdown_opsput_lcdpld_irq(u
outw(PLD_ICUCR_ILEVEL7, port);
}
-static struct hw_interrupt_type opsput_lcdpld_irq_type =
+static struct irq_chip opsput_lcdpld_irq_type =
{
"OPSPUT-PLD-LCD-IRQ",
startup_opsput_lcdpld_irq,
Index: linux-2.6/arch/m32r/platforms/usrv/setup.c
===================================================================
--- linux-2.6.orig/arch/m32r/platforms/usrv/setup.c
+++ linux-2.6/arch/m32r/platforms/usrv/setup.c
@@ -61,7 +61,7 @@ static void shutdown_mappi_irq(unsigned
outl(M32R_ICUCR_ILEVEL7, port);
}
-static struct hw_interrupt_type mappi_irq_type =
+static struct irq_chip mappi_irq_type =
{
.typename = "M32700-IRQ",
.startup = startup_mappi_irq,
@@ -134,7 +134,7 @@ static void shutdown_m32700ut_pld_irq(un
outw(PLD_ICUCR_ILEVEL7, port);
}
-static struct hw_interrupt_type m32700ut_pld_irq_type =
+static struct irq_chip m32700ut_pld_irq_type =
{
.typename = "USRV-PLD-IRQ",
.startup = startup_m32700ut_pld_irq,
^ permalink raw reply [flat|nested] 26+ messages in thread* [patch 15/18] parisc: convert obsolete hw_interrupt_type to struct irq_chip
2009-03-11 0:45 [patch 00/18] Remove obsolete genirq defines and typedefs Thomas Gleixner
` (13 preceding siblings ...)
2009-03-11 0:46 ` [patch 14/18] m32r: " Thomas Gleixner
@ 2009-03-11 0:46 ` Thomas Gleixner
2009-03-11 0:46 ` [patch 16/18] powerpc: " Thomas Gleixner
` (2 subsequent siblings)
17 siblings, 0 replies; 26+ messages in thread
From: Thomas Gleixner @ 2009-03-11 0:46 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton, Ingo Molnar, Kyle McMartin
[-- 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,
^ permalink raw reply [flat|nested] 26+ messages in thread* [patch 16/18] powerpc: convert obsolete hw_interrupt_type to struct irq_chip
2009-03-11 0:45 [patch 00/18] Remove obsolete genirq defines and typedefs Thomas Gleixner
` (14 preceding siblings ...)
2009-03-11 0:46 ` [patch 15/18] parisc: " Thomas Gleixner
@ 2009-03-11 0:46 ` 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
17 siblings, 1 reply; 26+ messages in thread
From: Thomas Gleixner @ 2009-03-11 0:46 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton, Ingo Molnar, Benjamin Herrenschmidt, linuxppc-dev
[-- Attachment #1: powerpc-convert-obsolete-hw-interrupt-type.patch --]
[-- Type: text/plain, Size: 1302 bytes --]
Impact: cleanup
Convert the last remaining users to struct irq_chip.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: linuxppc-dev@ozlabs.org
---
arch/powerpc/include/asm/hw_irq.h | 2 +-
arch/powerpc/platforms/powermac/pic.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6/arch/powerpc/include/asm/hw_irq.h
===================================================================
--- linux-2.6.orig/arch/powerpc/include/asm/hw_irq.h
+++ linux-2.6/arch/powerpc/include/asm/hw_irq.h
@@ -129,7 +129,7 @@ static inline int irqs_disabled_flags(un
* interrupt-retrigger: should we handle this via lost interrupts and IPIs
* or should we not care like we do now ? --BenH.
*/
-struct hw_interrupt_type;
+struct irq_chip;
#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_HW_IRQ_H */
Index: linux-2.6/arch/powerpc/platforms/powermac/pic.h
===================================================================
--- linux-2.6.orig/arch/powerpc/platforms/powermac/pic.h
+++ linux-2.6/arch/powerpc/platforms/powermac/pic.h
@@ -3,7 +3,7 @@
#include <linux/irq.h>
-extern struct hw_interrupt_type pmac_pic;
+extern struct irq_chip pmac_pic;
extern void pmac_pic_init(void);
extern int pmac_get_irq(void);
^ permalink raw reply [flat|nested] 26+ messages in thread* Re: [patch 16/18] powerpc: convert obsolete hw_interrupt_type to struct irq_chip
2009-03-11 0:46 ` [patch 16/18] powerpc: " Thomas Gleixner
@ 2009-03-11 2:19 ` Benjamin Herrenschmidt
0 siblings, 0 replies; 26+ messages in thread
From: Benjamin Herrenschmidt @ 2009-03-11 2:19 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: LKML, Andrew Morton, Ingo Molnar, linuxppc-dev
On Wed, 2009-03-11 at 00:46 +0000, Thomas Gleixner wrote:
> plain text document attachment
> (powerpc-convert-obsolete-hw-interrupt-type.patch)
> Impact: cleanup
>
> Convert the last remaining users to struct irq_chip.
Ack too, same comment, happy to have that one in powerpc.
Ben.
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> CC: linuxppc-dev@ozlabs.org
> ---
> arch/powerpc/include/asm/hw_irq.h | 2 +-
> arch/powerpc/platforms/powermac/pic.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> Index: linux-2.6/arch/powerpc/include/asm/hw_irq.h
> ===================================================================
> --- linux-2.6.orig/arch/powerpc/include/asm/hw_irq.h
> +++ linux-2.6/arch/powerpc/include/asm/hw_irq.h
> @@ -129,7 +129,7 @@ static inline int irqs_disabled_flags(un
> * interrupt-retrigger: should we handle this via lost interrupts and IPIs
> * or should we not care like we do now ? --BenH.
> */
> -struct hw_interrupt_type;
> +struct irq_chip;
>
> #endif /* __KERNEL__ */
> #endif /* _ASM_POWERPC_HW_IRQ_H */
> Index: linux-2.6/arch/powerpc/platforms/powermac/pic.h
> ===================================================================
> --- linux-2.6.orig/arch/powerpc/platforms/powermac/pic.h
> +++ linux-2.6/arch/powerpc/platforms/powermac/pic.h
> @@ -3,7 +3,7 @@
>
> #include <linux/irq.h>
>
> -extern struct hw_interrupt_type pmac_pic;
> +extern struct irq_chip pmac_pic;
>
> extern void pmac_pic_init(void);
> extern int pmac_get_irq(void);
>
^ permalink raw reply [flat|nested] 26+ messages in thread
* [patch 17/18] sh: convert obsolete hw_interrupt_type to struct irq_chip
2009-03-11 0:45 [patch 00/18] Remove obsolete genirq defines and typedefs Thomas Gleixner
` (15 preceding siblings ...)
2009-03-11 0:46 ` [patch 16/18] powerpc: " Thomas Gleixner
@ 2009-03-11 0:46 ` Thomas Gleixner
2009-03-11 0:46 ` [patch 18/18] um: " Thomas Gleixner
17 siblings, 0 replies; 26+ messages in thread
From: Thomas Gleixner @ 2009-03-11 0:46 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton, Ingo Molnar, Paul Mundt
[-- Attachment #1: sh-convert-obsolete-hw-interrupt-type.patch --]
[-- Type: text/plain, Size: 1362 bytes --]
Impact: cleanup
Convert the last remaining users to struct irq_chip.
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,
^ permalink raw reply [flat|nested] 26+ messages in thread* [patch 18/18] um: convert obsolete hw_interrupt_type to struct irq_chip
2009-03-11 0:45 [patch 00/18] Remove obsolete genirq defines and typedefs Thomas Gleixner
` (16 preceding siblings ...)
2009-03-11 0:46 ` [patch 17/18] sh: " Thomas Gleixner
@ 2009-03-11 0:46 ` Thomas Gleixner
17 siblings, 0 replies; 26+ messages in thread
From: Thomas Gleixner @ 2009-03-11 0:46 UTC (permalink / raw)
To: LKML; +Cc: Andrew Morton, Ingo Molnar, Jeff Dike
[-- Attachment #1: um-convert-obsolete-hw-interrupt-type.patch --]
[-- Type: text/plain, Size: 1283 bytes --]
Impact: cleanup
Convert the last remaining users to struct irq_chip.
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 */
^ permalink raw reply [flat|nested] 26+ messages in thread