cpu_has_fxsr or cpu_has_xmm?

From: Quim K Holland (qkholland@my-deja.com)
Date: Fri Feb 23 2001 - 00:38:39 EST


('binary' encoding is not supported, stored as-is) I've been looking at various -ac patches for the last couple of
weeks and have been wondering why only this piece of difference
still remains between Linus' 2.4.2 and Alan's -ac2. All the other
diffs in i387.c from 2.4.1-ac2 seem to have been merged into Linus
tree at around 2.4.2-pre1. Could anybody explain it for me please?

--- linux.vanilla/arch/i386/kernel/i387.c Thu Feb 22 09:05:35 2001
+++ linux.ac/arch/i386/kernel/i387.c Sun Feb 4 10:58:36 2001
@@ -179,7 +179,7 @@
 
 unsigned short get_fpu_mxcsr( struct task_struct *tsk )
 {
- if ( cpu_has_fxsr ) {
+ if ( cpu_has_xmm ) {
                return tsk->thread.i387.fxsave.mxcsr;
        } else {
                return 0x1f80;

------------------------------------------------------------
--== Sent via Deja.com ==--
http://www.deja.com/

-
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/



This archive was generated by hypermail 2b29 : Fri Feb 23 2001 - 21:00:29 EST