aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/smp.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2009-03-26 10:24:42 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-03-26 10:24:26 -0400
commit7b4684880dfc6c45bc56039ca5eada771d7643ab (patch)
treef572dc77a13e56a417616a9b49f74a68ed1dc99a /arch/s390/kernel/smp.c
parent2938af534d47891ddbced552e5d29f7b90bec609 (diff)
[S390] eliminate cpuinfo_S390 structure
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/smp.c')
-rw-r--r--arch/s390/kernel/smp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c
index a8858634dd05..b167f74d94cd 100644
--- a/arch/s390/kernel/smp.c
+++ b/arch/s390/kernel/smp.c
@@ -372,7 +372,7 @@ static void __init smp_detect_cpus(void)
372 372
373 c_cpus = 1; 373 c_cpus = 1;
374 s_cpus = 0; 374 s_cpus = 0;
375 boot_cpu_addr = S390_lowcore.cpu_data.cpu_addr; 375 boot_cpu_addr = __cpu_logical_map[0];
376 info = kmalloc(sizeof(*info), GFP_KERNEL); 376 info = kmalloc(sizeof(*info), GFP_KERNEL);
377 if (!info) 377 if (!info)
378 panic("smp_detect_cpus failed to allocate memory\n"); 378 panic("smp_detect_cpus failed to allocate memory\n");
@@ -446,7 +446,7 @@ int __cpuinit start_secondary(void *cpuvoid)
446 /* Switch on interrupts */ 446 /* Switch on interrupts */
447 local_irq_enable(); 447 local_irq_enable();
448 /* Print info about this processor */ 448 /* Print info about this processor */
449 print_cpu_info(&S390_lowcore.cpu_data); 449 print_cpu_info();
450 /* cpu_idle will call schedule for us */ 450 /* cpu_idle will call schedule for us */
451 cpu_idle(); 451 cpu_idle();
452 return 0; 452 return 0;
@@ -564,7 +564,7 @@ int __cpuinit __cpu_up(unsigned int cpu)
564 : : "a" (&cpu_lowcore->access_regs_save_area) : "memory"); 564 : : "a" (&cpu_lowcore->access_regs_save_area) : "memory");
565 cpu_lowcore->percpu_offset = __per_cpu_offset[cpu]; 565 cpu_lowcore->percpu_offset = __per_cpu_offset[cpu];
566 cpu_lowcore->current_task = (unsigned long) idle; 566 cpu_lowcore->current_task = (unsigned long) idle;
567 cpu_lowcore->cpu_data.cpu_nr = cpu; 567 cpu_lowcore->cpu_nr = cpu;
568 cpu_lowcore->kernel_asce = S390_lowcore.kernel_asce; 568 cpu_lowcore->kernel_asce = S390_lowcore.kernel_asce;
569 cpu_lowcore->ipl_device = S390_lowcore.ipl_device; 569 cpu_lowcore->ipl_device = S390_lowcore.ipl_device;
570 eieio(); 570 eieio();
@@ -656,7 +656,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
656 /* request the 0x1201 emergency signal external interrupt */ 656 /* request the 0x1201 emergency signal external interrupt */
657 if (register_external_interrupt(0x1201, do_ext_call_interrupt) != 0) 657 if (register_external_interrupt(0x1201, do_ext_call_interrupt) != 0)
658 panic("Couldn't request external interrupt 0x1201"); 658 panic("Couldn't request external interrupt 0x1201");
659 print_cpu_info(&S390_lowcore.cpu_data); 659 print_cpu_info();
660 660
661 /* Reallocate current lowcore, but keep its contents. */ 661 /* Reallocate current lowcore, but keep its contents. */
662 lc_order = sizeof(long) == 8 ? 1 : 0; 662 lc_order = sizeof(long) == 8 ? 1 : 0;