Skip to content

Commit

Permalink
[SPARC64]: SMP trampoline needs to avoid %tick_cmpr on sun4v too.
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Aug 16, 2007
1 parent 53140b7 commit 7dc4088
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions arch/sparc64/kernel/trampoline.S
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
*/
Expand Down

0 comments on commit 7dc4088

Please sign in to comment.