Commit 78d00125 authored by David S. Miller's avatar David S. Miller

[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: default avatarDavid S. Miller <davem@davemloft.net>
parent cbc5a069
...@@ -458,7 +458,6 @@ tlb_fixup_done: ...@@ -458,7 +458,6 @@ tlb_fixup_done:
or %g6, %lo(init_thread_union), %g6 or %g6, %lo(init_thread_union), %g6
ldx [%g6 + TI_TASK], %g4 ldx [%g6 + TI_TASK], %g4
mov %sp, %l6 mov %sp, %l6
mov %o4, %l7
wr %g0, ASI_P, %asi wr %g0, ASI_P, %asi
mov 1, %g1 mov 1, %g1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment