summaryrefslogtreecommitdiff
path: root/src/arch/i386
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@xmission.com>2003-04-25 02:02:25 +0000
committerEric Biederman <ebiederm@xmission.com>2003-04-25 02:02:25 +0000
commiteb00fa5c11085a323bd3acd1e657cf3ef2b16481 (patch)
tree6eb067219b64b68be634501fdd4735c7d5d413cc /src/arch/i386
parent825dd3361bd30de3bae3f33d467441e82dacc757 (diff)
- Commit a working pirq table for the AMD solo
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@799 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386')
-rw-r--r--src/arch/i386/boot/pirq_routing.c3
1 files changed, 2 insertions, 1 deletions
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() - "