]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[SPARC64]: Do not touch %tick_cmpr on sun4v cpus.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 16 Aug 2007 08:52:44 +0000 (01:52 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 16 Aug 2007 08:52:44 +0000 (01:52 -0700)
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>
arch/sparc64/kernel/head.S

index a2652bcfeb15ca989f272c1579cbb5328119b519..63144ad476f6663c1ab3ed98fd252503fc89ebdb 100644 (file)
@@ -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