Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
e76038dc
Commit
e76038dc
authored
Mar 29, 2006
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Remove redundant initialization of sr_allocated.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
b4d05cb9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
arch/mips/kernel/traps.c
arch/mips/kernel/traps.c
+0
-2
No files found.
arch/mips/kernel/traps.c
View file @
e76038dc
...
@@ -976,8 +976,6 @@ void mips_srs_init(void)
...
@@ -976,8 +976,6 @@ 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
(
"%d MIPSR2 register sets available
\n
"
,
shadow_registers
.
sr_supported
);
#else
shadow_registers
.
sr_supported
=
1
;
#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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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