amd.c: Corrected broken URL and display the same units at all messages
PATCH 1/1 amd.c: Corrected broken URL and display the same units at all messages
Fixes two messages displaying Megabit (Mb) instead of Megabyte (MB) and updates URLs.
Hello we are Ioannis Barkas ([email protected]) and Nikos Barkas ([email protected]).
The printed messages behaviour is not consistent as one message is printed
with MB and the next two are printed with Mb.Also a link is broken.
We sent the patch from diff -u as an attachment because damn yahoo...can't even format an inline patch!
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545433
linux/arch/i386/kernel/cpu/amd.c renamed from linux-2.6.21/arch/i386/kernel/cpu/amd.c +7 -5
@@ -9,10 +9,12 @@/* * B step AMD K6 before B 9730xxxx have hardware bugs that can cause * misexecution of code under Linux. Owners of such processors should -* contact AMD for precise details and a CPU swap. +* contact AMD for precise details and a CPU swap. More information can +* be found at erratum 2.6.2 of 21266.pdf. * * See http://www.multimania.com/poulot/k6bug.html -* http://www.amd.com/K6/k6docs/revgd.html +* http://www.amd.com/us-en/Processors/TechnicalResources/0,,30_182_739_1102,00.html +* http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/21266.pdf * * The following test is erm.. interesting. AMD neglected to up * the chip setting when fixing the bug but they also tweaked some
@@ -146,7 +148,7 @@/* K6 with old style WHCR */ if (c->x86_model <8 || (c->x86_model==8 && c->x86_mask <8 )) { -/* We can only write allocate on the low 508Mb */ +/* We can only write allocate on the low 508MB */ if (mbytes>508 ) mbytes=508 ;
@@ -158,7 +160,7 @@wbinvd ();wrmsr (MSR_K6_WHCR , l, h);local_irq_restore (flags); -printk (KERN_INFO "Enabling old style K6 write allocation for %d Mb\n" , +printk (KERN_INFO "Enabling old style K6 write allocation for %d MB\n" , mbytes); }break ;
@@ -179,7 +181,7 @@wbinvd ();wrmsr (MSR_K6_WHCR , l, h);local_irq_restore (flags); -printk (KERN_INFO "Enabling new style K6 write allocation for %d Mb\n" , +printk (KERN_INFO "Enabling new style K6 write allocation for %d MB\n" , mbytes); }