Yinghai Lu 71f521bbaf x86, irq: get nr_irqs from madt
Until now, NR_IRQS was derived from black magic defines that had to
be "large enough" to both accomodate NR_CPUS and MAX_NR_IO_APICs.

This resulted in a way too large irq_desc[] array on most x86 systems.
Especially with larger CPU masks, the size of irq_desc can spiral out
of control quickly.

So be smarter about it and use precise allocation instead: determine the
default maximum possible IRQ number from the ACPI MADT. Use a minimum limit
of at least 32 IRQs for broken BIOSes.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-10-16 16:52:08 +02:00
..
2008-07-26 16:31:34 +02:00
2008-07-26 16:31:35 +02:00
2008-10-16 16:52:02 +02:00
2008-07-22 21:31:34 +02:00
2008-10-12 12:37:32 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-09-10 08:21:05 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-16 12:15:17 -07:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2007-10-17 20:17:08 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2007-10-17 20:17:08 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-10-13 10:21:01 +02:00
2008-10-13 09:51:40 -07:00
2008-07-22 21:31:34 +02:00
2008-07-26 16:29:23 +02:00
2008-07-22 21:31:34 +02:00
2008-10-16 16:52:05 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-10-16 16:52:08 +02:00
2008-07-22 21:31:34 +02:00
2008-09-10 14:00:55 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-10-12 12:37:32 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 12:24:00 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2007-10-17 20:17:08 +02:00
2008-07-22 21:31:34 +02:00
2007-10-17 20:17:08 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2007-10-17 20:17:08 +02:00
2008-10-13 10:21:32 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-08-13 12:59:29 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-10-12 12:37:32 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-10-13 10:33:20 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-04-26 17:35:46 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-07-22 21:31:34 +02:00
2008-06-18 12:27:03 +02:00
2008-06-18 12:27:03 +02:00