aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/kernel/traps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index 0688bd7605dc..7ab49c6f6574 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -975,7 +975,8 @@ void mips_srs_init(void)
975{ 975{
976#ifdef CONFIG_CPU_MIPSR2_SRS 976#ifdef CONFIG_CPU_MIPSR2_SRS
977 shadow_registers.sr_supported = ((read_c0_srsctl() >> 26) & 0x0f) + 1; 977 shadow_registers.sr_supported = ((read_c0_srsctl() >> 26) & 0x0f) + 1;
978 printk ("%d MIPSR2 register sets available\n", shadow_registers.sr_supported); 978 printk(KERN_INFO "%d MIPSR2 register sets available\n",
979 shadow_registers.sr_supported);
979#endif 980#endif
980 shadow_registers.sr_allocated = 1; /* Set 0 used by kernel */ 981 shadow_registers.sr_allocated = 1; /* Set 0 used by kernel */
981 spin_lock_init(&shadow_registers.sr_lock); 982 spin_lock_init(&shadow_registers.sr_lock);