summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-04-05 09:45:49 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-04-19 04:14:29 +0200
commitbb12d612d4b2e6dc260fab081f69df783b74289f (patch)
treedac395212548d5059bf402c23d7860ac50e1f08d
parentb4ade4bf8811c7267b9f32b4a5d8fcfde714adac (diff)
downloadop-kernel-dev-bb12d612d4b2e6dc260fab081f69df783b74289f.zip
op-kernel-dev-bb12d612d4b2e6dc260fab081f69df783b74289f.tar.gz
[MIPS] Make mips_srs_init static.
Nothing outside traps.c uses it. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index e9902d8..4901f0a 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -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;
OpenPOWER on IntegriCloud