aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-29 04:14:13 -0400
committerDavid S. Miller <davem@davemloft.net>2012-05-29 15:47:37 -0400
commit4fd8bc671887fa02bc19722f6c3707bd7b8a2604 (patch)
treeefb011f9a32988c3fe0802b0b66daacc59b72213 /arch/sparc
parent1ddb22e13dea3f9511c8e934331e1e44b666bc79 (diff)
sparc32: remove unused variable in head_32.S
It was assigned, but never referenced later. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/kernel/head_32.S8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/sparc/kernel/head_32.S b/arch/sparc/kernel/head_32.S
index 5364a05177c2..afeb1d770303 100644
--- a/arch/sparc/kernel/head_32.S
+++ b/arch/sparc/kernel/head_32.S
@@ -30,10 +30,6 @@
30 * the cpu-type 30 * the cpu-type
31 */ 31 */
32 .align 4 32 .align 4
33cputyp:
34 .word 1
35
36 .align 4
37 .globl cputypval 33 .globl cputypval
38cputypval: 34cputypval:
39 .asciz "sun4m" 35 .asciz "sun4m"
@@ -509,10 +505,6 @@ continue_boot:
509/* Aieee, now set PC and nPC, enable traps, give ourselves a stack and it's 505/* Aieee, now set PC and nPC, enable traps, give ourselves a stack and it's
510 * show-time! 506 * show-time!
511 */ 507 */
512
513 sethi %hi(cputyp), %o0
514 st %g4, [%o0 + %lo(cputyp)]
515
516 /* Turn on Supervisor, EnableFloating, and all the PIL bits. 508 /* Turn on Supervisor, EnableFloating, and all the PIL bits.
517 * Also puts us in register window zero with traps off. 509 * Also puts us in register window zero with traps off.
518 */ 510 */