linux/arch/x86/kernel/acpi
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
..
realmode
boot.c x86, irq: get nr_irqs from madt 2008-10-16 16:52:08 +02:00
cstate.c cpumask: change cpumask_of_cpu_ptr to use new cpumask_of_cpu 2008-07-26 16:40:33 +02:00
Makefile
processor.c ACPI: Disable the C2C3_FFH access mode HW has no MWAIT support 2008-07-16 23:27:04 +02:00
sleep.c x86: fix i486 suspend to disk CR4 oops 2008-08-18 08:50:19 +02:00
sleep.h
wakeup_32.S
wakeup_64.S
wakeup_rm.S