From eb00fa5c11085a323bd3acd1e657cf3ef2b16481 Mon Sep 17 00:00:00 2001 From: Eric Biederman Date: Fri, 25 Apr 2003 02:02:25 +0000 Subject: - Commit a working pirq table for the AMD solo git-svn-id: svn://svn.coreboot.org/coreboot/trunk@799 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/boot/pirq_routing.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/arch') diff --git a/src/arch/i386/boot/pirq_routing.c b/src/arch/i386/boot/pirq_routing.c index a6d2c26557..56d05c5d7f 100644 --- a/src/arch/i386/boot/pirq_routing.c +++ b/src/arch/i386/boot/pirq_routing.c @@ -28,7 +28,8 @@ void check_pirq_routing_table(void) printk_debug("%s:%6d:%s() - irq_routing_table located at: 0x%p\n", __FILE__, __LINE__, __FUNCTION__, addr); - sum = (unsigned char)(rt->checksum-sum); + + sum = rt->checksum - sum; if (sum != rt->checksum) { printk_warning("%s:%6d:%s() - " -- cgit v1.2.3