Skip to content
Commit 1b489768 authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar
Browse files

x86: size NR_IRQS on 32-bit systems the same way as 64-bit



Impact: make NR_IRQS big enough for system with lots of apic/pins

If lots of IO_APIC's are there (or can be there), size the same way
as 64-bit, depending on MAX_IO_APICS and NR_CPUS.

This fixes the boot problem reported by Ben Hutchings on a 32-bit
server with 5 IO-APICs and 240 IO-APIC pins.

Signed-off-by: default avatarYinghai <yinghai@kernel.org>
Tested-by: default avatarBen Hutchings <bhutchings@solarflare.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c78d0cf2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment