diff options
Diffstat (limited to 'arch/s390/kernel/processor.c')
-rw-r--r-- | arch/s390/kernel/processor.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/s390/kernel/processor.c b/arch/s390/kernel/processor.c index 24612029f450..dbdd33ee0102 100644 --- a/arch/s390/kernel/processor.c +++ b/arch/s390/kernel/processor.c | |||
@@ -23,15 +23,13 @@ static DEFINE_PER_CPU(struct cpuid, cpu_id); | |||
23 | */ | 23 | */ |
24 | void cpu_init(void) | 24 | void cpu_init(void) |
25 | { | 25 | { |
26 | struct s390_idle_data *idle = &__get_cpu_var(s390_idle); | 26 | struct cpuid *id = this_cpu_ptr(&cpu_id); |
27 | struct cpuid *id = &__get_cpu_var(cpu_id); | ||
28 | 27 | ||
29 | get_cpu_id(id); | 28 | get_cpu_id(id); |
30 | atomic_inc(&init_mm.mm_count); | 29 | atomic_inc(&init_mm.mm_count); |
31 | current->active_mm = &init_mm; | 30 | current->active_mm = &init_mm; |
32 | BUG_ON(current->mm); | 31 | BUG_ON(current->mm); |
33 | enter_lazy_tlb(&init_mm, current); | 32 | enter_lazy_tlb(&init_mm, current); |
34 | memset(idle, 0, sizeof(*idle)); | ||
35 | } | 33 | } |
36 | 34 | ||
37 | /* | 35 | /* |
@@ -41,7 +39,7 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
41 | { | 39 | { |
42 | static const char *hwcap_str[] = { | 40 | static const char *hwcap_str[] = { |
43 | "esan3", "zarch", "stfle", "msa", "ldisp", "eimm", "dfp", | 41 | "esan3", "zarch", "stfle", "msa", "ldisp", "eimm", "dfp", |
44 | "edat", "etf3eh", "highgprs", "te" | 42 | "edat", "etf3eh", "highgprs", "te", "vx" |
45 | }; | 43 | }; |
46 | unsigned long n = (unsigned long) v - 1; | 44 | unsigned long n = (unsigned long) v - 1; |
47 | int i; | 45 | int i; |