[MIPS] Make mips_srs_init static.
Nothing outside traps.c uses it. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
b4ade4bf88
commit
bb12d612d4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue