[PATCH] x86_64: avoid wasting IRQs patch update
authorNatalie.Protasevich@unisys.com <Natalie.Protasevich@unisys.com>
Sat, 30 Jul 2005 18:25:32 +0000 (11:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 30 Jul 2005 20:37:50 +0000 (13:37 -0700)
commit6a1caa21d66bcb9ba9892435a0a54fc32cd9eeab
tree9e01b08b8aa2e40a80435570f3dab799f7909a35
parentc70f5d6610c601ea2ae4ae4e49f66c80801e895f
[PATCH] x86_64: avoid wasting IRQs patch update

The patch adds boundary check for the MAX_GSI_NUM.  Same as the update for
i386, the patch addresses a problem with ACPI SCI IRQ.  The patch corrects
the code such that SCI IRQ is skipped and duplicate entry is avoided.  The
VIA chipset uses 4-bit IRQ register for internal interrupt routing, and
therefore cannot handle IRQ numbers assigned to its devices.  The patch
corrects this problem by allowing PCI IRQs below 16.

Signed-off-by: Natalie Protasevich <Natalie.Protasevich@unisys.com>
Acked-by: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/mpparse.c