[SPARC64]: SMP trampoline needs to avoid %tick_cmpr on sun4v too.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 16 Aug 2007 08:56:00 +0000 (01:56 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 16 Aug 2007 08:56:00 +0000 (01:56 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/trampoline.S

index 9448595f9063f346202575ee5a0a2d72caef797b..9533a25ce5d2191f9ceb251695c0141acc78071c 100644 (file)
@@ -95,14 +95,13 @@ spitfire_startup:
        membar          #Sync
 
 startup_continue:
+       mov             %o0, %l0
+       BRANCH_IF_SUN4V(g1, niagara_lock_tlb)
+
        sethi           %hi(0x80000000), %g2
        sllx            %g2, 32, %g2
        wr              %g2, 0, %tick_cmpr
 
-       mov             %o0, %l0
-
-       BRANCH_IF_SUN4V(g1, niagara_lock_tlb)
-
        /* Call OBP by hand to lock KERNBASE into i/d tlbs.
         * We lock 2 consequetive entries if we are 'bigkernel'.
         */