From 9a9e61b7ec3f40fdf3716b95a0cfa2c695626dd0 Mon Sep 17 00:00:00 2001 From: Jens Rottmann Date: Wed, 22 Oct 2008 22:20:48 +0000 Subject: Fixes a off-by-one error when routing the IRQs. This led to IRQ15 not getting assigned. Signed-off-by: Jens Rottmann Acked-by: Marc Jones git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3687 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/boot/pirq_routing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/i386') diff --git a/src/arch/i386/boot/pirq_routing.c b/src/arch/i386/boot/pirq_routing.c index df201492b2..6e3d9943c4 100644 --- a/src/arch/i386/boot/pirq_routing.c +++ b/src/arch/i386/boot/pirq_routing.c @@ -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; -- cgit v1.2.3