diff options
Diffstat (limited to 'arch/ppc64/kernel/smp.c')
-rw-r--r-- | arch/ppc64/kernel/smp.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/ppc64/kernel/smp.c b/arch/ppc64/kernel/smp.c index 2fcddfcb594d..793b562da653 100644 --- a/arch/ppc64/kernel/smp.c +++ b/arch/ppc64/kernel/smp.c | |||
@@ -65,8 +65,6 @@ struct smp_ops_t *smp_ops; | |||
65 | 65 | ||
66 | static volatile unsigned int cpu_callin_map[NR_CPUS]; | 66 | static volatile unsigned int cpu_callin_map[NR_CPUS]; |
67 | 67 | ||
68 | extern unsigned char stab_array[]; | ||
69 | |||
70 | void smp_call_function_interrupt(void); | 68 | void smp_call_function_interrupt(void); |
71 | 69 | ||
72 | int smt_enabled_at_boot = 1; | 70 | int smt_enabled_at_boot = 1; |
@@ -492,19 +490,6 @@ int __devinit __cpu_up(unsigned int cpu) | |||
492 | 490 | ||
493 | paca[cpu].default_decr = tb_ticks_per_jiffy; | 491 | paca[cpu].default_decr = tb_ticks_per_jiffy; |
494 | 492 | ||
495 | if (!cpu_has_feature(CPU_FTR_SLB)) { | ||
496 | void *tmp; | ||
497 | |||
498 | /* maximum of 48 CPUs on machines with a segment table */ | ||
499 | if (cpu >= 48) | ||
500 | BUG(); | ||
501 | |||
502 | tmp = &stab_array[PAGE_SIZE * cpu]; | ||
503 | memset(tmp, 0, PAGE_SIZE); | ||
504 | paca[cpu].stab_addr = (unsigned long)tmp; | ||
505 | paca[cpu].stab_real = virt_to_abs(tmp); | ||
506 | } | ||
507 | |||
508 | /* Make sure callin-map entry is 0 (can be leftover a CPU | 493 | /* Make sure callin-map entry is 0 (can be leftover a CPU |
509 | * hotplug | 494 | * hotplug |
510 | */ | 495 | */ |