diff options
-rw-r--r-- | arch/sparc64/kernel/smp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/smp.c b/arch/sparc64/kernel/smp.c index d637168ce37d..2dbe008d6b7a 100644 --- a/arch/sparc64/kernel/smp.c +++ b/arch/sparc64/kernel/smp.c | |||
@@ -1278,7 +1278,11 @@ int __devinit __cpu_up(unsigned int cpu) | |||
1278 | if (!cpu_isset(cpu, cpu_online_map)) { | 1278 | if (!cpu_isset(cpu, cpu_online_map)) { |
1279 | ret = -ENODEV; | 1279 | ret = -ENODEV; |
1280 | } else { | 1280 | } else { |
1281 | smp_synchronize_one_tick(cpu); | 1281 | /* On SUN4V, writes to %tick and %stick are |
1282 | * not allowed. | ||
1283 | */ | ||
1284 | if (tlb_type != hypervisor) | ||
1285 | smp_synchronize_one_tick(cpu); | ||
1282 | } | 1286 | } |
1283 | } | 1287 | } |
1284 | return ret; | 1288 | return ret; |