diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2015-04-04 00:25:57 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-04-08 01:09:47 +0200 |
commit | e06b530b92364b2d6ce2981f2c775d2e79dc8f21 (patch) | |
tree | 8c2850616dcfb7de27abf1a664989d6c7981c90d /arch/mips/math-emu/ieee754sp.c | |
parent | MIPS: math-emu: Optimise qNaN handling in `ieee754sp_fdp' (diff) | |
download | linux-e06b530b92364b2d6ce2981f2c775d2e79dc8f21.tar.xz linux-e06b530b92364b2d6ce2981f2c775d2e79dc8f21.zip |
MIPS: math-emu: Make NaN classifiers static
The `ieee754sp_isnan' and `ieee754dp_isnan' NaN classifiers are now no
longer externally referred, remove their header prototypes and make them
local to the two only respective places still making use of them.
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9693/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/ieee754sp.c')
-rw-r--r-- | arch/mips/math-emu/ieee754sp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/math-emu/ieee754sp.c b/arch/mips/math-emu/ieee754sp.c index e48aaab1543b..ca8e35e33bf7 100644 --- a/arch/mips/math-emu/ieee754sp.c +++ b/arch/mips/math-emu/ieee754sp.c @@ -30,7 +30,7 @@ int ieee754sp_class(union ieee754sp x) return xc; } -int ieee754sp_isnan(union ieee754sp x) +static inline int ieee754sp_isnan(union ieee754sp x) { return ieee754_class_nan(ieee754sp_class(x)); } |