Cyrix ARR problem in split MTRR code

From: Boszormenyi Zoltan (zboszor@externet.hu)
Date: Wed Jun 11 2003 - 05:11:17 EST


Hi,

I noticed a problem in the split MTRR code that is special casing
ARR #3 on Cyrix 6x86(MX) / MII CPUs. I wrote the code for the
original (monolithic) mtrr.c, but I don't have my old Cyrix 6x86MX
mainboard anymore. The problem is obvious though, one liner fix is
attached. Patrick Mochel should have been more careful. :-)

Best regards,
Zoltán Böszörményi


--- arch/i386/kernel/cpu/mtrr/main.c.old 2003-06-11 11:09:43.000000000 +0200
+++ arch/i386/kernel/cpu/mtrr/main.c 2003-06-11 12:03:48.000000000 +0200
@@ -64,7 +64,7 @@
 static void set_mtrr(unsigned int reg, unsigned long base,
                      unsigned long size, mtrr_type type);
 
-static unsigned int arr3_protected;
+extern int arr3_protected;
 
 void set_mtrr_ops(struct mtrr_ops * ops)
 {

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



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:27 EST