]> err.no Git - linux-2.6/commitdiff
[MIPS] Make mips_srs_init static.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 5 Apr 2006 08:45:49 +0000 (09:45 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 19 Apr 2006 02:14:29 +0000 (04:14 +0200)
Nothing outside traps.c uses it.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c

index e9902d89dc0a7341cd3e425630253be315874ef8..4901f0a37fca2b3ddb2de93dcf998873b10e6643 100644 (file)
@@ -1052,7 +1052,7 @@ static struct shadow_registers {
        unsigned long sr_allocated;
 } shadow_registers;
 
-void mips_srs_init(void)
+static void mips_srs_init(void)
 {
 #ifdef CONFIG_CPU_MIPSR2_SRS
        shadow_registers.sr_supported = ((read_c0_srsctl() >> 26) & 0x0f) + 1;