diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-04-05 04:45:49 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-04-18 22:14:29 -0400 |
commit | bb12d612d4b2e6dc260fab081f69df783b74289f (patch) | |
tree | dac395212548d5059bf402c23d7860ac50e1f08d /arch/mips/kernel/traps.c | |
parent | b4ade4bf8811c7267b9f32b4a5d8fcfde714adac (diff) |
[MIPS] Make mips_srs_init static.
Nothing outside traps.c uses it.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/traps.c')
-rw-r--r-- | arch/mips/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index e9902d89dc0a..4901f0a37fca 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c | |||
@@ -1052,7 +1052,7 @@ static struct shadow_registers { | |||
1052 | unsigned long sr_allocated; | 1052 | unsigned long sr_allocated; |
1053 | } shadow_registers; | 1053 | } shadow_registers; |
1054 | 1054 | ||
1055 | void mips_srs_init(void) | 1055 | static void mips_srs_init(void) |
1056 | { | 1056 | { |
1057 | #ifdef CONFIG_CPU_MIPSR2_SRS | 1057 | #ifdef CONFIG_CPU_MIPSR2_SRS |
1058 | shadow_registers.sr_supported = ((read_c0_srsctl() >> 26) & 0x0f) + 1; | 1058 | shadow_registers.sr_supported = ((read_c0_srsctl() >> 26) & 0x0f) + 1; |