Skip to content

Commit

Permalink
[MIPS] Make mips_srs_init static.
Browse files Browse the repository at this point in the history
Nothing outside traps.c uses it.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Apr 19, 2006
1 parent b4ade4b commit bb12d61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bb12d61

Please sign in to comment.