projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4d05cb
)
[MIPS] Remove redundant initialization of sr_allocated.
author
Ralf Baechle
<ralf@linux-mips.org>
Wed, 29 Mar 2006 13:10:09 +0000
(14:10 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Wed, 19 Apr 2006 02:14:13 +0000
(
04:14
+0200)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/traps.c
b/arch/mips/kernel/traps.c
index 4efe3f2eba639b33d690f946a4f5e2ce46f8e624..0688bd7605dcd552aebb655c9f5d98ed714a3236 100644
(file)
--- a/
arch/mips/kernel/traps.c
+++ b/
arch/mips/kernel/traps.c
@@
-976,8
+976,6
@@
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);
-#else
- shadow_registers.sr_supported = 1;
#endif
shadow_registers.sr_allocated = 1; /* Set 0 used by kernel */
spin_lock_init(&shadow_registers.sr_lock);