]> git.karo-electronics.de Git - linux-beck.git/commit
genirq: Query arch for number of early descriptors
authorThomas Gleixner <tglx@linutronix.de>
Mon, 27 Sep 2010 18:55:03 +0000 (20:55 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 Oct 2010 14:39:08 +0000 (16:39 +0200)
commitb683de2b3cb17bb10fa6fd4af614dc75b5749fe0
treee1a799293b218f5c13d4903c57fab144b2f433b3
parentaa99ec0f3f26bf2bcd0fa5176de93598427f1e5e
genirq: Query arch for number of early descriptors

sparse irq sets up NR_IRQS_LEGACY irq descriptors and archs then go
ahead and allocate more.

Use the unused return value of arch_probe_nr_irqs() to let the
architecture return the number of early allocations. Fix up all users.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
arch/arm/kernel/irq.c
arch/sh/kernel/irq.c
arch/x86/kernel/apic/io_apic.c
include/linux/irq.h
kernel/irq/irqdesc.c
kernel/softirq.c