summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/fpu_control.h
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/arm/fpu_control.h
parent160cae6ad49006f75f393e48ce5516779d7eb8bf (diff)
fixes from psm: disable unsupported __fpu_control and sync with upstream
Diffstat (limited to 'libc/sysdeps/linux/arm/fpu_control.h')
-rw-r--r--libc/sysdeps/linux/arm/fpu_control.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/arm/fpu_control.h b/libc/sysdeps/linux/arm/fpu_control.h
index 31d81ea29..1170c9e97 100644
--- a/libc/sysdeps/linux/arm/fpu_control.h
+++ b/libc/sysdeps/linux/arm/fpu_control.h
@@ -89,7 +89,7 @@ typedef unsigned int fpu_control_t;
#define _FPU_GETCW(cw) ({ \
register int __t1, __t2; \
\
- __asm__ volatile ( \
+ __asm__ __volatile__ ( \
"cfmvr64l %1, mvdx0\n\t" \
"cfmvr64h %2, mvdx0\n\t" \
"cfmv32sc mvdx0, dspsc\n\t" \
@@ -103,7 +103,7 @@ typedef unsigned int fpu_control_t;
#define _FPU_SETCW(cw) ({ \
register int __t0, __t1, __t2; \
\
- __asm__ volatile ( \
+ __asm__ __volatile__ ( \
"cfmvr64l %1, mvdx0\n\t" \
"cfmvr64h %2, mvdx0\n\t" \
"cfmv64lr mvdx0, %0\n\t" \
@@ -195,7 +195,9 @@ typedef unsigned int fpu_control_t;
#endif /* __MAVERICK__ */
+#if 0
/* Default control word set at startup. */
extern fpu_control_t __fpu_control;
+#endif
#endif /* _FPU_CONTROL_H */