diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-05-07 11:44:16 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-05-16 08:05:21 -0400 |
commit | b26d851ff1928b56242c4c5e16cb62bac2d9526c (patch) | |
tree | ef1325900428e72bcf4b520f77cba9ab2669fdb3 /arch/tile/include | |
parent | 2aa799d891299457e4107d33f07a1ed5ac8849ae (diff) |
tile: Use SPARSE_IRQ
Get rid of the private allocator and switch over to sparse IRQs.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Grant Likely <grant.likely@linaro.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Acked-by: Chris Metcalf <cmetcalf@tilera.com>
Link: http://lkml.kernel.org/r/20140507154338.423715783@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/tile/include')
-rw-r--r-- | arch/tile/include/asm/irq.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/tile/include/asm/irq.h b/arch/tile/include/asm/irq.h index 9670a39d924d..1fe86911838b 100644 --- a/arch/tile/include/asm/irq.h +++ b/arch/tile/include/asm/irq.h | |||
@@ -18,10 +18,12 @@ | |||
18 | #include <linux/hardirq.h> | 18 | #include <linux/hardirq.h> |
19 | 19 | ||
20 | /* The hypervisor interface provides 32 IRQs. */ | 20 | /* The hypervisor interface provides 32 IRQs. */ |
21 | #define NR_IRQS 32 | 21 | #define NR_IRQS 32 |
22 | 22 | ||
23 | /* IRQ numbers used for linux IPIs. */ | 23 | /* IRQ numbers used for linux IPIs. */ |
24 | #define IRQ_RESCHEDULE 0 | 24 | #define IRQ_RESCHEDULE 0 |
25 | /* Interrupts for dynamic allocation start at 1. Let the core allocate irq0 */ | ||
26 | #define NR_IRQS_LEGACY 1 | ||
25 | 27 | ||
26 | #define irq_canonicalize(irq) (irq) | 28 | #define irq_canonicalize(irq) (irq) |
27 | 29 | ||
@@ -76,7 +78,4 @@ void tile_irq_activate(unsigned int irq, int tile_irq_type); | |||
76 | 78 | ||
77 | void setup_irq_regs(void); | 79 | void setup_irq_regs(void); |
78 | 80 | ||
79 | unsigned int irq_alloc_hwirq(int node); | ||
80 | void irq_free_hwirq(unsigned int irq); | ||
81 | |||
82 | #endif /* _ASM_TILE_IRQ_H */ | 81 | #endif /* _ASM_TILE_IRQ_H */ |