summaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/fpreg.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/kernel/fpreg.c')
-rw-r--r--arch/alpha/kernel/fpreg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/alpha/kernel/fpreg.c b/arch/alpha/kernel/fpreg.c
index 6da94c0cb..0bd8b9f67 100644
--- a/arch/alpha/kernel/fpreg.c
+++ b/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 @@ alpha_read_fp_reg (unsigned long reg)
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));