lkml.org 
[lkml]   [2000]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
SubjectRe: 2.2.17: CPU features bug for AMD?
Ulrich.Windl@rz.uni-regensburg.de wrote..

> linux/arch/i386/kernel/setup.c:
> Isn't here an "else" or "break" missing? Otherwise
> ``x86_cap_flags[16] = "pat"'' is always the case

Good spotting!
There should be an else there, as there is in 2.4

Regards,

Dave.


--- setup.c~ Mon Oct 9 20:18:59 2000
+++ setup.c Mon Oct 9 20:19:15 2000
@@ -1192,7 +1192,8 @@
x86_cap_flags[10] = "sep";
if (c->x86 < 6)
x86_cap_flags[16] = "fcmov";
- x86_cap_flags[16] = "pat";
+ else
+ x86_cap_flags[16] = "pat";
x86_cap_flags[22] = "mmxext";
x86_cap_flags[24] = "fxsr";
x86_cap_flags[30] = "3dnowext";
--
| Dave Jones <davej@suse.de> http://www.suse.de/~davej
| SuSE Labs

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

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.053 / U:1.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site