[SPARC64]: Allocate and register the 4 sun4v mondo queues at bootup.

Needs to occur before we enable PSTATE_IE in %pstate.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller
2006-02-08 00:08:23 -08:00
parent e088ad7ca3
commit ac29c11d4c
2 changed files with 59 additions and 1 deletions

View File

@@ -309,7 +309,17 @@ do_unlock:
call init_irqwork_curcpu
nop
call init_cur_cpu_trap
sethi %hi(tlb_type), %g3
lduw [%g3 + %lo(tlb_type)], %g2
cmp %g2, 3
bne,pt %icc, 1f
nop
call sun4v_init_mondo_queues
nop
1: call init_cur_cpu_trap
nop
/* Start using proper page size encodings in ctx register. */