提交 bb12d612 编写于 作者: R Ralf Baechle

[MIPS] Make mips_srs_init static.

Nothing outside traps.c uses it.
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 b4ade4bf
...@@ -1052,7 +1052,7 @@ static struct shadow_registers { ...@@ -1052,7 +1052,7 @@ static struct shadow_registers {
unsigned long sr_allocated; unsigned long sr_allocated;
} shadow_registers; } shadow_registers;
void mips_srs_init(void) static void mips_srs_init(void)
{ {
#ifdef CONFIG_CPU_MIPSR2_SRS #ifdef CONFIG_CPU_MIPSR2_SRS
shadow_registers.sr_supported = ((read_c0_srsctl() >> 26) & 0x0f) + 1; shadow_registers.sr_supported = ((read_c0_srsctl() >> 26) & 0x0f) + 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册