]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[PATCH] Sparc64 bootup assembler bug
authorDavid S. Miller <davem@davemloft.net>
Fri, 20 Jul 2007 05:06:09 +0000 (22:06 -0700)
committerWilly Tarreau <w@1wt.eu>
Sat, 25 Aug 2007 15:24:00 +0000 (17:24 +0200)
[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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Willy Tarreau <w@1wt.eu>
arch/sparc64/kernel/head.S

index 06459ae20e0f5fdc46e8e6a20026f71ffad76c29..0e19369ff7c8ece6617fb715d096684f8aa51b4d 100644 (file)
@@ -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