diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2006-07-01 17:30:08 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-07-01 17:30:08 -0400 |
commit | f8b5473fcbddbfde827ecf82aa0e81fa2a878220 (patch) | |
tree | 0d6d504f95830610cb2c2fb1e6e9e1ebf932762b /include/linux/irq.h | |
parent | a2166abd06e7a9fd34eb18b7b27da18c6146e6ef (diff) |
[ARM] 3690/1: genirq: Introduce and make use of dummy irq chip
Patch from Thomas Gleixner
From: Thomas Gleixner <tglx@linutronix.de>
ARM has a couple of really dumb interrupt controllers.
Implement a generic one and fixup the ARM migration. ARM reused
the no_irq_chip for this purpose, but this does not work out
for platforms which are not converted to the new interrupt
type handling model.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r-- | include/linux/irq.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 0832149cdb1..00b6ef8b2f9 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -348,8 +348,9 @@ extern int noirqdebug_setup(char *str); | |||
348 | /* Checks whether the interrupt can be requested by request_irq(): */ | 348 | /* Checks whether the interrupt can be requested by request_irq(): */ |
349 | extern int can_request_irq(unsigned int irq, unsigned long irqflags); | 349 | extern int can_request_irq(unsigned int irq, unsigned long irqflags); |
350 | 350 | ||
351 | /* Dummy irq-chip implementation: */ | 351 | /* Dummy irq-chip implementations: */ |
352 | extern struct irq_chip no_irq_chip; | 352 | extern struct irq_chip no_irq_chip; |
353 | extern struct irq_chip dummy_irq_chip; | ||
353 | 354 | ||
354 | extern void | 355 | extern void |
355 | set_irq_chip_and_handler(unsigned int irq, struct irq_chip *chip, | 356 | set_irq_chip_and_handler(unsigned int irq, struct irq_chip *chip, |