aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-08-16 04:52:44 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-08-16 04:52:44 -0400
commit53140b71c5e7b5370e4ac6ffc13fddbdfae71473 (patch)
tree57e50b4c84ddf17012cf1934b7c9cf9a9b7b22c5 /arch/sparc64
parentcf5adce11743e98739fcb97e76d688f0b0bc2199 (diff)
[SPARC64]: Do not touch %tick_cmpr on sun4v cpus.
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>
Diffstat (limited to 'arch/sparc64')
-rw-r--r--arch/sparc64/kernel/head.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/head.S b/arch/sparc64/kernel/head.S
index a2652bcfeb15..63144ad476f6 100644
--- a/arch/sparc64/kernel/head.S
+++ b/arch/sparc64/kernel/head.S
@@ -715,12 +715,13 @@ setup_trap_table:
715 715
716 membar #Sync 716 membar #Sync
717 717
718 BRANCH_IF_SUN4V(o2, 1f)
719
718 /* Kill PROM timer */ 720 /* Kill PROM timer */
719 sethi %hi(0x80000000), %o2 721 sethi %hi(0x80000000), %o2
720 sllx %o2, 32, %o2 722 sllx %o2, 32, %o2
721 wr %o2, 0, %tick_cmpr 723 wr %o2, 0, %tick_cmpr
722 724
723 BRANCH_IF_SUN4V(o2, 1f)
724 BRANCH_IF_ANY_CHEETAH(o2, o3, 1f) 725 BRANCH_IF_ANY_CHEETAH(o2, o3, 1f)
725 726
726 ba,pt %xcc, 2f 727 ba,pt %xcc, 2f