mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
[MIPS] Fixup printk in mips_srs_init.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
e76038dcc0
commit
7acb783ecd
1 changed files with 2 additions and 1 deletions
|
@ -975,7 +975,8 @@ void mips_srs_init(void)
|
|||
{
|
||||
#ifdef CONFIG_CPU_MIPSR2_SRS
|
||||
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
|
||||
shadow_registers.sr_allocated = 1; /* Set 0 used by kernel */
|
||||
spin_lock_init(&shadow_registers.sr_lock);
|
||||
|
|
Loading…
Reference in a new issue