Fixes a off-by-one error when routing the IRQs. This led to IRQ15 not
authorJens Rottmann <JRottmann@LiPPERTEmbedded.de>
Wed, 22 Oct 2008 22:20:48 +0000 (22:20 +0000)
committerMarc Jones <marc.jones@amd.com>
Wed, 22 Oct 2008 22:20:48 +0000 (22:20 +0000)
getting assigned.

Signed-off-by: Jens Rottmann <JRottmann@LiPPERTEmbedded.de>
Acked-by: Marc Jones <marc.jones@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3687 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/arch/i386/boot/pirq_routing.c

index df201492b24de58fdabe9b50f4966d4856bded8d..6e3d9943c43a427f348fa80052a97c6391adda97 100644 (file)
@@ -137,7 +137,7 @@ void pirq_routing_irqs(unsigned long addr)
                        /* yet not routed */
                        if (!pirq[link - 1]) {
 
-                               for (k = 2; k < 15; k++) {
+                               for (k = 2; k <= 15; k++) {
 
                                        if (!((bitmap >> k) & 1))
                                                continue;