Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xcap
xcap-capability-linux
Commits
7acb783e
Commit
7acb783e
authored
Mar 29, 2006
by
Ralf Baechle
Browse files
[MIPS] Fixup printk in mips_srs_init.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
e76038dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
arch/mips/kernel/traps.c
View file @
7acb783e
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment