aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc64/kernel/smp.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-07 21:51:08 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 01:11:55 -0800
commit481295f982b21b1dbe71cbf41d3a93028fee30d1 (patch)
tree5b1af84a7f83021698bcf138c8875d7290e65282 /arch/sparc64/kernel/smp.c
parent89a5264f065672a882f555228000614a6b2182b7 (diff)
[SPARC64]: Register per-cpu fault status area with sun4v hypervisor.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/smp.c')
-rw-r--r--arch/sparc64/kernel/smp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/smp.c b/arch/sparc64/kernel/smp.c
index aba0f886b05..223cc6bd369 100644
--- a/arch/sparc64/kernel/smp.c
+++ b/arch/sparc64/kernel/smp.c
@@ -122,6 +122,9 @@ void __init smp_callin(void)
__local_per_cpu_offset = __per_cpu_offset(cpuid);
+ if (tlb_type == hypervisor)
+ sun4v_register_fault_status();
+
__flush_tlb_all();
smp_setup_percpu_timer();