diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-20 00:40:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-20 00:40:50 -0400 |
commit | 837ebf0ec78ec6c724b904a3e3e933a1bc72a7b7 (patch) | |
tree | 45c69069b79a0c59692248c34f4a0839a998cec7 /arch/sparc/kernel/head_32.S | |
parent | 0bfcee9ad369aca590211a4a8fffd28f1ed39a82 (diff) |
sparc32: Kill boot_cpu_id4
It is written, but never actually read.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/head_32.S')
-rw-r--r-- | arch/sparc/kernel/head_32.S | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/sparc/kernel/head_32.S b/arch/sparc/kernel/head_32.S index 69645cac54bd..a0ec4adc7f71 100644 --- a/arch/sparc/kernel/head_32.S +++ b/arch/sparc/kernel/head_32.S | |||
@@ -819,10 +819,7 @@ continue_boot: | |||
819 | mov %g0, %g3 | 819 | mov %g0, %g3 |
820 | stub %g3, [%g2 + %lo(boot_cpu_id)] | 820 | stub %g3, [%g2 + %lo(boot_cpu_id)] |
821 | 821 | ||
822 | 1: /* boot_cpu_id set. calculate boot_cpu_id4 = boot_cpu_id*4 */ | 822 | 1: sll %g3, 2, %g3 |
823 | sll %g3, 2, %g3 | ||
824 | sethi %hi(boot_cpu_id4), %g2 | ||
825 | stub %g3, [%g2 + %lo(boot_cpu_id4)] | ||
826 | 823 | ||
827 | /* Initialize the uwinmask value for init task just in case. | 824 | /* Initialize the uwinmask value for init task just in case. |
828 | * But first make current_set[boot_cpu_id] point to something useful. | 825 | * But first make current_set[boot_cpu_id] point to something useful. |