Commit f95f712e authored by David S. Miller's avatar David S. Miller

[SPARC64]: Clear tick_cmpr ints properly in bootup assembly.

parent f6d2af96
......@@ -671,7 +671,9 @@ set_worklist:
#endif
/* Kill PROM timer */
wr %g0, 0, %tick_cmpr
sethi %hi(0x80000000), %g1
sllx %g1, 32, %g1
wr %g1, 0, %tick_cmpr
BRANCH_IF_ANY_CHEETAH(g1,g5,1f)
......
......@@ -85,7 +85,10 @@ spitfire_startup:
startup_continue:
wrpr %g0, 15, %pil
wr %g0, 0, %tick_cmpr
sethi %hi(0x80000000), %g2
sllx %g2, 32, %g2
wr %g2, 0, %tick_cmpr
/* Call OBP by hand to lock KERNBASE into i/d tlbs. */
mov %o0, %l0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment