summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/fpu_control.h
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2011-01-03 14:37:49 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2011-01-03 14:44:33 +0100
commit8100a075b7dd7471562decb1860571a335d68b0d (patch)
tree331eebca0cbafd27aa691da4bc5fa281abb61d3d /libc/sysdeps/linux/sh/fpu_control.h
parente018b8ba1a0110120429de34366459af0771abe2 (diff)
parent4ac7ad3543dd6d7780e71af80fa5c45414451719 (diff)
Merge commit 'origin/master' into prelink
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/sysdeps/linux/sh/fpu_control.h')
-rw-r--r--libc/sysdeps/linux/sh/fpu_control.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sh/fpu_control.h b/libc/sysdeps/linux/sh/fpu_control.h
index cbd889ece..da01725cb 100644
--- a/libc/sysdeps/linux/sh/fpu_control.h
+++ b/libc/sysdeps/linux/sh/fpu_control.h
@@ -20,7 +20,9 @@
#ifndef _FPU_CONTROL_H
#define _FPU_CONTROL_H
-#warning This file is only correct for sh4
+#ifndef __SH4__
+#error This file is only correct for sh4
+#endif
/* masking of interrupts */
#define _FPU_MASK_VM 0x0800 /* Invalid operation */