[2.6 patch i386 traps.c: make a function static (fwd)

From: Adrian Bunk
Date: Sat Jan 15 2005 - 21:26:57 EST


The patch forwarded below still applies and compiles against
2.6.11-rc1-mm1.

Please apply.


----- Forwarded message from Adrian Bunk <bunk@xxxxxxxxx> -----

Date: Sun, 12 Dec 2004 03:11:08 +0100
From: Adrian Bunk <bunk@xxxxxxxxx>
To: linux-kernel@xxxxxxxxxxxxxxx
Subject: [2.6 patch i386 traps.c: make a function static

The patch below makes a needlessly global function static.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.10-rc2-mm4-full/arch/i386/kernel/traps.c.old 2004-12-11 23:51:43.000000000 +0100
+++ linux-2.6.10-rc2-mm4-full/arch/i386/kernel/traps.c 2004-12-11 23:51:50.000000000 +0100
@@ -898,7 +898,7 @@
math_error((void __user *)regs->eip);
}

-void simd_math_error(void __user *eip)
+static void simd_math_error(void __user *eip)
{
struct task_struct * task;
siginfo_t info;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

----- End forwarded message -----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/