MIPS: math-emu: Header file weeding.
[firefly-linux-kernel-4.4.55.git] / arch / mips / math-emu / ieee754xcpt.c
index 967167116ae8110bf7c6fd281e71d8a89a4888b9..d68408a1957057ea509af234bdd3af279596e6e5 100644 (file)
@@ -28,7 +28,8 @@
  *  Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved.
  *************************************************************************/
 
-#include <linux/kernel.h>
+#include <linux/compiler.h>
+#include <linux/printk.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]);