summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/smp.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-11 14:41:18 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 01:12:23 -0800
commit490384e752a43aa281ed533e9de2da36df25c337 (patch)
treeec087a27a481b9a63aeda6703971acf4adeab19b /arch/sparc64/kernel/smp.c
parent459b6e621e0e15315c25bac47fa7113e5818d45d (diff)
downloadblackbird-obmc-linux-490384e752a43aa281ed533e9de2da36df25c337.tar.gz
blackbird-obmc-linux-490384e752a43aa281ed533e9de2da36df25c337.zip
[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>
Diffstat (limited to 'arch/sparc64/kernel/smp.c')
-rw-r--r--arch/sparc64/kernel/smp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/smp.c b/arch/sparc64/kernel/smp.c
index f553264588d6..7d7e02ba297e 100644
--- a/arch/sparc64/kernel/smp.c
+++ b/arch/sparc64/kernel/smp.c
@@ -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();
OpenPOWER on IntegriCloud