[SPARC64]: Register kernel TSB with hypervisor.

We do this right after we take over the trap table from OBP.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller
2006-02-11 14:41:18 -08:00
parent 459b6e621e
commit 490384e752
3 changed files with 73 additions and 2 deletions

View File

@@ -122,8 +122,10 @@ void __init smp_callin(void)
__local_per_cpu_offset = __per_cpu_offset(cpuid);
if (tlb_type == hypervisor)
if (tlb_type == hypervisor) {
sun4v_register_fault_status();
sun4v_ktsb_register();
}
__flush_tlb_all();