diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-07-20 00:50:09 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-20 00:50:09 -0400 |
commit | 78d00125398f18f7354e759ba7cd544a6b07f504 (patch) | |
tree | 716f0073f93d142d52fa36a2649862b5f4a469dc /arch/sparc64/kernel/head.S | |
parent | cbc5a069373264dec320e887835390132c69b951 (diff) |
[SPARC64]: Fix two year old bug in early bootup asm.
We try to fetch the CIF entry pointer from %o4, but that
can get clobbered by the early OBP calls. It is saved
in %l7 already, so actually this "mov %o4, %l7" can just
be completely removed with no other changes.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/head.S')
-rw-r--r-- | arch/sparc64/kernel/head.S | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/head.S b/arch/sparc64/kernel/head.S index 77259526cb15..35feacb6b8ec 100644 --- a/arch/sparc64/kernel/head.S +++ b/arch/sparc64/kernel/head.S | |||
@@ -458,7 +458,6 @@ tlb_fixup_done: | |||
458 | or %g6, %lo(init_thread_union), %g6 | 458 | or %g6, %lo(init_thread_union), %g6 |
459 | ldx [%g6 + TI_TASK], %g4 | 459 | ldx [%g6 + TI_TASK], %g4 |
460 | mov %sp, %l6 | 460 | mov %sp, %l6 |
461 | mov %o4, %l7 | ||
462 | 461 | ||
463 | wr %g0, ASI_P, %asi | 462 | wr %g0, ASI_P, %asi |
464 | mov 1, %g1 | 463 | mov 1, %g1 |