summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/nios
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-23 19:13:46 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-23 19:13:46 +0000
commit7fb2478092d40e5237115f409968a9762734692b (patch)
tree694e78077f2215dc2269caca7c7285063d21cfaa /libc/sysdeps/linux/nios
parent160cae6ad49006f75f393e48ce5516779d7eb8bf (diff)
fixes from psm: disable unsupported __fpu_control and sync with upstream
Diffstat (limited to 'libc/sysdeps/linux/nios')
-rw-r--r--libc/sysdeps/linux/nios/fpu_control.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/nios/fpu_control.h b/libc/sysdeps/linux/nios/fpu_control.h
index b7cdf2f3e..9c3174574 100644
--- a/libc/sysdeps/linux/nios/fpu_control.h
+++ b/libc/sysdeps/linux/nios/fpu_control.h
@@ -91,7 +91,9 @@ typedef unsigned int fpu_control_t __attribute__ ((__mode__ (__SI__)));
#define _FPU_GETCW(cw) __asm__ ("cfc1 %0,$31" : "=r" (cw))
#define _FPU_SETCW(cw) __asm__ ("ctc1 %0,$31" : : "r" (cw))
+#if 0
/* Default control word set at startup. */
extern fpu_control_t __fpu_control;
+#endif
#endif /* fpu_control.h */