summaryrefslogtreecommitdiff
path: root/arch/mips/math-emu
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-04-16 03:16:02 +0400
committerRalf Baechle <ralf@linux-mips.org>2014-05-21 13:12:48 +0400
commit23708818210cec367083ce9c09c6e71a5767d7e3 (patch)
treecac11f2d22f16c346f65516cb8af096ba80f8f03 /arch/mips/math-emu
parentcae55066cb1ce3f8572ddddbd3ec3c54b973a89c (diff)
downloadlinux-23708818210cec367083ce9c09c6e71a5767d7e3.tar.xz
MIPS: math-emu: Use English spelling of `constant' rather than Danish.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu')
-rw-r--r--arch/mips/math-emu/ieee754.c4
-rw-r--r--arch/mips/math-emu/ieee754.h12
2 files changed, 8 insertions, 8 deletions
diff --git a/arch/mips/math-emu/ieee754.c b/arch/mips/math-emu/ieee754.c
index e7c314c9f46a..141f0cb40df4 100644
--- a/arch/mips/math-emu/ieee754.c
+++ b/arch/mips/math-emu/ieee754.c
@@ -56,7 +56,7 @@
#define DPSTR(s, b, mh, ml) {s, b, mh, ml}
#endif
-const struct ieee754dp_konst __ieee754dp_spcvals[] = {
+const struct ieee754dp_const __ieee754dp_spcvals[] = {
DPSTR(0, DP_EMIN - 1 + DP_EBIAS, 0, 0), /* + zero */
DPSTR(1, DP_EMIN - 1 + DP_EBIAS, 0, 0), /* - zero */
DPSTR(0, DP_EBIAS, 0, 0), /* + 1.0 */
@@ -76,7 +76,7 @@ const struct ieee754dp_konst __ieee754dp_spcvals[] = {
DPSTR(0, 63 + DP_EBIAS, 0, 0), /* + 1.0e63 */
};
-const struct ieee754sp_konst __ieee754sp_spcvals[] = {
+const struct ieee754sp_const __ieee754sp_spcvals[] = {
SPSTR(0, SP_EMIN - 1 + SP_EBIAS, 0), /* + zero */
SPSTR(1, SP_EMIN - 1 + SP_EBIAS, 0), /* - zero */
SPSTR(0, SP_EBIAS, 0), /* + 1.0 */
diff --git a/arch/mips/math-emu/ieee754.h b/arch/mips/math-emu/ieee754.h
index 967831e3206f..9e8c26e850fe 100644
--- a/arch/mips/math-emu/ieee754.h
+++ b/arch/mips/math-emu/ieee754.h
@@ -38,7 +38,7 @@
#include <stdarg.h>
#endif
-struct ieee754dp_konst {
+struct ieee754dp_const {
__BITFIELD_FIELD(unsigned sign:1,
__BITFIELD_FIELD(unsigned bexp:11,
__BITFIELD_FIELD(unsigned manthi:20,
@@ -47,7 +47,7 @@ struct ieee754dp_konst {
};
typedef union _ieee754dp {
- struct ieee754dp_konst oparts;
+ struct ieee754dp_const oparts;
struct {
__BITFIELD_FIELD(unsigned int sign:1,
__BITFIELD_FIELD(unsigned int bexp:11,
@@ -58,7 +58,7 @@ typedef union _ieee754dp {
u64 bits;
} ieee754dp;
-struct ieee754sp_konst {
+struct ieee754sp_const {
__BITFIELD_FIELD(unsigned sign:1,
__BITFIELD_FIELD(unsigned bexp:8,
__BITFIELD_FIELD(unsigned mant:23,
@@ -66,7 +66,7 @@ struct ieee754sp_konst {
};
typedef union _ieee754sp {
- struct ieee754sp_konst parts;
+ struct ieee754sp_const parts;
float f;
u32 bits;
} ieee754sp;
@@ -359,8 +359,8 @@ ieee754dp ieee754dp_dump(char *s, ieee754dp x);
#define IEEE754_SPCVAL_P1E31 15 /* + 1.0e31 */
#define IEEE754_SPCVAL_P1E63 16 /* + 1.0e63 */
-extern const struct ieee754dp_konst __ieee754dp_spcvals[];
-extern const struct ieee754sp_konst __ieee754sp_spcvals[];
+extern const struct ieee754dp_const __ieee754dp_spcvals[];
+extern const struct ieee754sp_const __ieee754sp_spcvals[];
#define ieee754dp_spcvals ((const ieee754dp *)__ieee754dp_spcvals)
#define ieee754sp_spcvals ((const ieee754sp *)__ieee754sp_spcvals)