summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-29 10:14:13 +0200
committerDavid S. Miller <davem@davemloft.net>2012-05-29 21:47:37 +0200
commit4fd8bc671887fa02bc19722f6c3707bd7b8a2604 (patch)
treeefb011f9a32988c3fe0802b0b66daacc59b72213 /arch/sparc
parentsparc32,leon: fix leon bootup (diff)
downloadlinux-4fd8bc671887fa02bc19722f6c3707bd7b8a2604.tar.xz
linux-4fd8bc671887fa02bc19722f6c3707bd7b8a2604.zip
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 @@
* the cpu-type
*/
.align 4
-cputyp:
- .word 1
-
- .align 4
.globl cputypval
cputypval:
.asciz "sun4m"
@@ -509,10 +505,6 @@ continue_boot:
/* Aieee, now set PC and nPC, enable traps, give ourselves a stack and it's
* show-time!
*/
-
- sethi %hi(cputyp), %o0
- st %g4, [%o0 + %lo(cputyp)]
-
/* Turn on Supervisor, EnableFloating, and all the PIL bits.
* Also puts us in register window zero with traps off.
*/