patch-2.3.2 linux/arch/alpha/kernel/fpreg.c
Next file: linux/arch/alpha/kernel/head.S
Previous file: linux/arch/alpha/kernel/alpha_ksyms.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Fri May 14 12:41:22 1999
- Orig file:
v2.3.1/linux/arch/alpha/kernel/fpreg.c
- Orig date:
Sun Aug 9 12:09:05 1998
diff -u --recursive --new-file v2.3.1/linux/arch/alpha/kernel/fpreg.c linux/arch/alpha/kernel/fpreg.c
@@ -1,10 +1,10 @@
/*
- * kernel/fpreg.c
+ * arch/alpha/kernel/fpreg.c
*
* (C) Copyright 1998 Linus Torvalds
*/
-#ifdef __alpha_cix__
+#if defined(__alpha_cix__) || defined(__alpha_fix__)
#define STT(reg,val) asm volatile ("ftoit $f"#reg",%0" : "=r"(val));
#else
#define STT(reg,val) asm volatile ("stt $f"#reg",%0" : "=m"(val));
@@ -52,7 +52,7 @@
return val;
}
-#ifdef __alpha_cix__
+#if defined(__alpha_cix__) || defined(__alpha_fix__)
#define LDT(reg,val) asm volatile ("itoft %0,$f"#reg : : "r"(val));
#else
#define LDT(reg,val) asm volatile ("ldt $f"#reg",%0" : : "m"(val));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)