diff options
Diffstat (limited to 'arch/s390/kernel/processor.c')
-rw-r--r-- | arch/s390/kernel/processor.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/s390/kernel/processor.c b/arch/s390/kernel/processor.c index 24612029f450..edefead3b43a 100644 --- a/arch/s390/kernel/processor.c +++ b/arch/s390/kernel/processor.c | |||
@@ -23,7 +23,6 @@ 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); | ||
27 | struct cpuid *id = &__get_cpu_var(cpu_id); | 26 | struct cpuid *id = &__get_cpu_var(cpu_id); |
28 | 27 | ||
29 | get_cpu_id(id); | 28 | get_cpu_id(id); |
@@ -31,7 +30,6 @@ void cpu_init(void) | |||
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; |