aboutsummaryrefslogtreecommitdiffstats
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 967167116ae8..005bbb184781 100644
--- a/arch/mips/math-emu/ieee754xcpt.c
+++ b/arch/mips/math-emu/ieee754xcpt.c
@@ -28,6 +28,7 @@
28 * Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved. 28 * Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved.
29 *************************************************************************/ 29 *************************************************************************/
30 30
31#include <linux/compiler.h>
31#include <linux/kernel.h> 32#include <linux/kernel.h>
32#include "ieee754.h" 33#include "ieee754.h"
33 34
@@ -40,7 +41,7 @@ static const char *const rtnames[] = {
40 "sp", "dp", "xp", "si", "di" 41 "sp", "dp", "xp", "si", "di"
41}; 42};
42 43
43void ieee754_xcpt(struct ieee754xctx *xcp) 44void __cold ieee754_xcpt(struct ieee754xctx *xcp)
44{ 45{
45 printk(KERN_DEBUG "floating point exception in \"%s\", type=%s\n", 46 printk(KERN_DEBUG "floating point exception in \"%s\", type=%s\n",
46 xcp->op, rtnames[xcp->rt]); 47 xcp->op, rtnames[xcp->rt]);