lkml.org 
[lkml]   [2003]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch] Enable SSE for AMD Athlon (Thoroughbred) in 2.4.20
On Sat, Feb 15, 2003 at 12:44:53AM +0100, Daniel Egger wrote:
> Hija,
>
> please include the obvious oneliner attached in 2.4.21 to help
> the poor folks having recent Athlons. :)
>
> A similar change for the just released Barton would also be nice but
> I do not have the model number handy.

It's model 10. Somehow they skipped model 9.

> --- arch/i386/kernel/setup.c.orig 2003-02-03 13:26:38.000000000 +0100
> +++ arch/i386/kernel/setup.c 2003-02-14 14:14:12.000000000 +0100
> @@ -1421,7 +1421,7 @@
> * If the BIOS didn't enable it already, enable it
> * here.
> */
> - if (c->x86_model == 6 || c->x86_model == 7) {
> + if (c->x86_model == 6 || c->x86_model == 7 || c->x86_model == 8) {
> if (!test_bit(X86_FEATURE_XMM,
> &c->x86_capability)) {
> printk(KERN_INFO

if (c->x86_model >= 6 && c->x86_model <= 10) {

should do the right thing on all current models with SSE afaics..

Dave

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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