diff options
Diffstat (limited to 'arch/s390/kernel/processor.c')
-rw-r--r-- | arch/s390/kernel/processor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/s390/kernel/processor.c b/arch/s390/kernel/processor.c index 6e0073e43f54..572d4c9cb33b 100644 --- a/arch/s390/kernel/processor.c +++ b/arch/s390/kernel/processor.c | |||
@@ -1,6 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * arch/s390/kernel/processor.c | ||
3 | * | ||
4 | * Copyright IBM Corp. 2008 | 2 | * Copyright IBM Corp. 2008 |
5 | * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) | 3 | * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) |
6 | */ | 4 | */ |
@@ -25,13 +23,15 @@ static DEFINE_PER_CPU(struct cpuid, cpu_id); | |||
25 | */ | 23 | */ |
26 | void __cpuinit cpu_init(void) | 24 | void __cpuinit cpu_init(void) |
27 | { | 25 | { |
28 | struct cpuid *id = &per_cpu(cpu_id, smp_processor_id()); | 26 | struct s390_idle_data *idle = &__get_cpu_var(s390_idle); |
27 | struct cpuid *id = &__get_cpu_var(cpu_id); | ||
29 | 28 | ||
30 | get_cpu_id(id); | 29 | get_cpu_id(id); |
31 | atomic_inc(&init_mm.mm_count); | 30 | atomic_inc(&init_mm.mm_count); |
32 | current->active_mm = &init_mm; | 31 | current->active_mm = &init_mm; |
33 | BUG_ON(current->mm); | 32 | BUG_ON(current->mm); |
34 | enter_lazy_tlb(&init_mm, current); | 33 | enter_lazy_tlb(&init_mm, current); |
34 | memset(idle, 0, sizeof(*idle)); | ||
35 | } | 35 | } |
36 | 36 | ||
37 | /* | 37 | /* |