diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-11 17:41:18 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:12:23 -0500 |
commit | 490384e752a43aa281ed533e9de2da36df25c337 (patch) | |
tree | ec087a27a481b9a63aeda6703971acf4adeab19b /arch/sparc64/kernel/smp.c | |
parent | 459b6e621e0e15315c25bac47fa7113e5818d45d (diff) |
[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.c | 4 |
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) | |||
122 | 122 | ||
123 | __local_per_cpu_offset = __per_cpu_offset(cpuid); | 123 | __local_per_cpu_offset = __per_cpu_offset(cpuid); |
124 | 124 | ||
125 | if (tlb_type == hypervisor) | 125 | if (tlb_type == hypervisor) { |
126 | sun4v_register_fault_status(); | 126 | sun4v_register_fault_status(); |
127 | sun4v_ktsb_register(); | ||
128 | } | ||
127 | 129 | ||
128 | __flush_tlb_all(); | 130 | __flush_tlb_all(); |
129 | 131 | ||