Skip to content

Commit

Permalink
[SPARC64]: Do not touch %tick_cmpr on sun4v cpus.
Browse files Browse the repository at this point in the history
This register is not a part of the sun4v architecture.

Niagara 1 and 2 happened to leave it around.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Aug 16, 2007
1 parent cf5adce commit 53140b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/sparc64/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -715,12 +715,13 @@ setup_trap_table:

membar #Sync

BRANCH_IF_SUN4V(o2, 1f)

/* Kill PROM timer */
sethi %hi(0x80000000), %o2
sllx %o2, 32, %o2
wr %o2, 0, %tick_cmpr

BRANCH_IF_SUN4V(o2, 1f)
BRANCH_IF_ANY_CHEETAH(o2, o3, 1f)

ba,pt %xcc, 2f
Expand Down

0 comments on commit 53140b7

Please sign in to comment.