diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-08 00:51:08 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:11:55 -0500 |
commit | 481295f982b21b1dbe71cbf41d3a93028fee30d1 (patch) | |
tree | 5b1af84a7f83021698bcf138c8875d7290e65282 /arch/sparc64/kernel/smp.c | |
parent | 89a5264f065672a882f555228000614a6b2182b7 (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.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/smp.c b/arch/sparc64/kernel/smp.c index aba0f886b05b..223cc6bd369a 100644 --- a/arch/sparc64/kernel/smp.c +++ b/arch/sparc64/kernel/smp.c | |||
@@ -122,6 +122,9 @@ 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) | ||
126 | sun4v_register_fault_status(); | ||
127 | |||
125 | __flush_tlb_all(); | 128 | __flush_tlb_all(); |
126 | 129 | ||
127 | smp_setup_percpu_timer(); | 130 | smp_setup_percpu_timer(); |