[lkml]   [2003]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectCyrix ARR problem in split MTRR code

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)
 \ /
  Last update: 2005-03-22 13:36    [W:0.038 / U:2.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site