[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>
diff --git a/arch/sparc64/kernel/smp.c b/arch/sparc64/kernel/smp.c
index f553264..7d7e02b 100644
--- a/arch/sparc64/kernel/smp.c
+++ b/arch/sparc64/kernel/smp.c
@@ -122,8 +122,10 @@
__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();