提交 7acb783e 编写于 作者: R Ralf Baechle

[MIPS] Fixup printk in mips_srs_init.

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 e76038dc
...@@ -975,7 +975,8 @@ void mips_srs_init(void) ...@@ -975,7 +975,8 @@ 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;
printk ("%d MIPSR2 register sets available\n", shadow_registers.sr_supported); printk(KERN_INFO "%d MIPSR2 register sets available\n",
shadow_registers.sr_supported);
#endif #endif
shadow_registers.sr_allocated = 1; /* Set 0 used by kernel */ shadow_registers.sr_allocated = 1; /* Set 0 used by kernel */
spin_lock_init(&shadow_registers.sr_lock); spin_lock_init(&shadow_registers.sr_lock);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册