diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2014-04-15 18:47:59 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-21 05:12:47 -0400 |
commit | cae55066cb1ce3f8572ddddbd3ec3c54b973a89c (patch) | |
tree | 91b106168432448ebb07766cc4e88bf778739036 /arch/mips/math-emu/ieee754.h | |
parent | f80cc08d78556bdc66bf0b75ec412688d8ec6907 (diff) |
MIPS: math-emu: Mark exception handling functions as __cold.
Optimizes the code flow and shaves of half a percent of the math-emu
code size.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/ieee754.h')
-rw-r--r-- | arch/mips/math-emu/ieee754.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/math-emu/ieee754.h b/arch/mips/math-emu/ieee754.h index fe61d16cf644..967831e3206f 100644 --- a/arch/mips/math-emu/ieee754.h +++ b/arch/mips/math-emu/ieee754.h | |||
@@ -24,6 +24,7 @@ | |||
24 | #ifndef __ARCH_MIPS_MATH_EMU_IEEE754_H | 24 | #ifndef __ARCH_MIPS_MATH_EMU_IEEE754_H |
25 | #define __ARCH_MIPS_MATH_EMU_IEEE754_H | 25 | #define __ARCH_MIPS_MATH_EMU_IEEE754_H |
26 | 26 | ||
27 | #include <linux/compiler.h> | ||
27 | #include <asm/byteorder.h> | 28 | #include <asm/byteorder.h> |
28 | #include <linux/types.h> | 29 | #include <linux/types.h> |
29 | #include <linux/sched.h> | 30 | #include <linux/sched.h> |
@@ -421,7 +422,7 @@ struct ieee754xctx { | |||
421 | #define IEEE754_RT_SI 3 | 422 | #define IEEE754_RT_SI 3 |
422 | #define IEEE754_RT_DI 4 | 423 | #define IEEE754_RT_DI 4 |
423 | 424 | ||
424 | extern void ieee754_xcpt(struct ieee754xctx *xcp); | 425 | extern void __cold ieee754_xcpt(struct ieee754xctx *xcp); |
425 | 426 | ||
426 | /* compat */ | 427 | /* compat */ |
427 | #define ieee754dp_fix(x) ieee754dp_tint(x) | 428 | #define ieee754dp_fix(x) ieee754dp_tint(x) |