Skip to content

Commit

Permalink
[SPARC64]: Fix two year old bug in early bootup asm.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed Jul 20, 2007
1 parent cbc5a06 commit 78d0012
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/sparc64/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,6 @@ tlb_fixup_done:
or %g6, %lo(init_thread_union), %g6
ldx [%g6 + TI_TASK], %g4
mov %sp, %l6
mov %o4, %l7

wr %g0, ASI_P, %asi
mov 1, %g1
Expand Down

0 comments on commit 78d0012

Please sign in to comment.