summaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/ieee754xcpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/math-emu/ieee754xcpt.c')
-rw-r--r--arch/mips/math-emu/ieee754xcpt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/math-emu/ieee754xcpt.c b/arch/mips/math-emu/ieee754xcpt.c
index 967167116ae..005bbb18478 100644
--- a/arch/mips/math-emu/ieee754xcpt.c
+++ b/arch/mips/math-emu/ieee754xcpt.c
@@ -28,6 +28,7 @@
* Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved.
*************************************************************************/
+#include <linux/compiler.h>
#include <linux/kernel.h>
#include "ieee754.h"
@@ -40,7 +41,7 @@ static const char *const rtnames[] = {
"sp", "dp", "xp", "si", "di"
};
-void ieee754_xcpt(struct ieee754xctx *xcp)
+void __cold ieee754_xcpt(struct ieee754xctx *xcp)
{
printk(KERN_DEBUG "floating point exception in \"%s\", type=%s\n",
xcp->op, rtnames[xcp->rt]);