Re: Linux 2.6.0-test8

From: Roland Dreier
Date: Fri Oct 17 2003 - 18:43:29 EST


Here's a fix for compiling with gcc 2.95 (a variable declaration got
mixed in with code):

--- linux-2.6.0-test8/arch/i386/kernel/microcode.c.orig Fri Oct 17 16:36:47 2003
+++ linux-2.6.0-test8/arch/i386/kernel/microcode.c Fri Oct 17 16:37:03 2003
@@ -324,8 +324,9 @@
/* check extended table checksum */
if (ext_table_size) {
int ext_table_sum = 0;
+ int * ext_tablep;
i = ext_table_size / DWSIZE;
- int * ext_tablep = (((void *) newmc) + MC_HEADER_SIZE + data_size);
+ ext_tablep = (((void *) newmc) + MC_HEADER_SIZE + data_size);
while (i--) ext_table_sum += ext_tablep[i];
if (ext_table_sum) {
printk(KERN_WARNING "microcode: aborting, bad extended signature table checksum\n");

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/