lkml.org 
[lkml]   [1999]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectpatch-2.3.31::arch/i386/kernel/setup.c AMD cpu features
Is this chunk correct?

diff -u --recursive --new-file v2.3.30/linux/arch/i386/kernel/setup.c linux/arch/i386/kernel/setup.c
--- v2.3.30/linux/arch/i386/kernel/setup.c Tue Dec 7 09:32:40 1999
+++ linux/arch/i386/kernel/setup.c Tue Dec 7 23:01:40 1999
@@ -1419,15 +1419,14 @@
case X86_VENDOR_AMD:
if (c->x86 == 5 && c->x86_model == 6)
x86_cap_flags[10] = "sep";
- x86_cap_flags[16] = "fcmov";
+ if (c->x86 < 6)
+ x86_cap_flags[16] = "fcmov";
+ x86_cap_flags[22] = "mmxext";
+ x86_cap_flags[30] = "3dnowext";
x86_cap_flags[31] = "3dnow";
break;

or should it look something like this?

+ if (c->x86 >= 6) {
+ x86_cap_flags[16] = "fcmov";
+ x86_cap_flags[22] = "mmxext";
+ x86_cap_flags[30] = "3dnowext";
+ }
x86_cap_flags[31] = "3dnow";
break;

-Mike


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.021 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site