All of lore.kernel.org
 help / color / mirror / Atom feed
* Cyrix ARR problem in split MTRR code
@ 2003-06-11 10:11 Boszormenyi Zoltan
  0 siblings, 0 replies; only message in thread
From: Boszormenyi Zoltan @ 2003-06-11 10:11 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 363 bytes --]

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


[-- Attachment #2: mtrr.diff --]
[-- Type: text/plain, Size: 387 bytes --]

--- 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)
 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-11  9:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-11 10:11 Cyrix ARR problem in split MTRR code Boszormenyi Zoltan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.