]> git.hungrycats.org Git - linux/commit
[PATCH] Allow more APIC irq sources
authorJames Cleverdon <jamesclv@us.ibm.com>
Tue, 21 Oct 2003 14:27:58 +0000 (07:27 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 21 Oct 2003 14:27:58 +0000 (07:27 -0700)
commitf2cee0af20f7e0b0cf297c52a6c151978083ea3e
tree4ec7f96e49ebac5ce68d6835ec97913aef24c159
parentdc84a4e4e552a08483977856417d10ba7b5fab33
[PATCH] Allow more APIC irq sources

The "irq_vector[]" array is indexed by the sum of all RTEs in all I/O
APICs, and is not necessarily limited by the x86 CPU irq vector inputs.

In fact, the irq vector index would overflow on big machines with lots
of IO APIC's, causing the boot to fail.

So grow the array for the big SMP boxes, keeping the default the same as
before (and shrink the vector entry size down to a 8-bit value, since
that's the size of the actual CPU vector entry).
arch/i386/kernel/io_apic.c
include/asm-i386/hw_irq.h
include/asm-i386/mach-default/irq_vectors.h