diff options
-rw-r--r-- | arch/s390/kernel/cache.c | 15 | ||||
-rw-r--r-- | arch/s390/kernel/perf_cpum_cf.c | 4 | ||||
-rw-r--r-- | arch/s390/kernel/processor.c | 2 | ||||
-rw-r--r-- | arch/s390/kernel/smp.c | 17 | ||||
-rw-r--r-- | arch/s390/kernel/sysinfo.c | 2 | ||||
-rw-r--r-- | arch/s390/kernel/vtime.c | 6 | ||||
-rw-r--r-- | arch/s390/mm/fault.c | 4 |
7 files changed, 24 insertions, 26 deletions
diff --git a/arch/s390/kernel/cache.c b/arch/s390/kernel/cache.c index 64b24650e4f8..dd62071624be 100644 --- a/arch/s390/kernel/cache.c +++ b/arch/s390/kernel/cache.c | |||
@@ -173,7 +173,7 @@ error: | |||
173 | } | 173 | } |
174 | } | 174 | } |
175 | 175 | ||
176 | static struct cache_dir *__cpuinit cache_create_cache_dir(int cpu) | 176 | static struct cache_dir *cache_create_cache_dir(int cpu) |
177 | { | 177 | { |
178 | struct cache_dir *cache_dir; | 178 | struct cache_dir *cache_dir; |
179 | struct kobject *kobj = NULL; | 179 | struct kobject *kobj = NULL; |
@@ -289,9 +289,8 @@ static struct kobj_type cache_index_type = { | |||
289 | .default_attrs = cache_index_default_attrs, | 289 | .default_attrs = cache_index_default_attrs, |
290 | }; | 290 | }; |
291 | 291 | ||
292 | static int __cpuinit cache_create_index_dir(struct cache_dir *cache_dir, | 292 | static int cache_create_index_dir(struct cache_dir *cache_dir, |
293 | struct cache *cache, int index, | 293 | struct cache *cache, int index, int cpu) |
294 | int cpu) | ||
295 | { | 294 | { |
296 | struct cache_index_dir *index_dir; | 295 | struct cache_index_dir *index_dir; |
297 | int rc; | 296 | int rc; |
@@ -313,7 +312,7 @@ out: | |||
313 | return rc; | 312 | return rc; |
314 | } | 313 | } |
315 | 314 | ||
316 | static int __cpuinit cache_add_cpu(int cpu) | 315 | static int cache_add_cpu(int cpu) |
317 | { | 316 | { |
318 | struct cache_dir *cache_dir; | 317 | struct cache_dir *cache_dir; |
319 | struct cache *cache; | 318 | struct cache *cache; |
@@ -335,7 +334,7 @@ static int __cpuinit cache_add_cpu(int cpu) | |||
335 | return 0; | 334 | return 0; |
336 | } | 335 | } |
337 | 336 | ||
338 | static void __cpuinit cache_remove_cpu(int cpu) | 337 | static void cache_remove_cpu(int cpu) |
339 | { | 338 | { |
340 | struct cache_index_dir *index, *next; | 339 | struct cache_index_dir *index, *next; |
341 | struct cache_dir *cache_dir; | 340 | struct cache_dir *cache_dir; |
@@ -354,8 +353,8 @@ static void __cpuinit cache_remove_cpu(int cpu) | |||
354 | cache_dir_cpu[cpu] = NULL; | 353 | cache_dir_cpu[cpu] = NULL; |
355 | } | 354 | } |
356 | 355 | ||
357 | static int __cpuinit cache_hotplug(struct notifier_block *nfb, | 356 | static int cache_hotplug(struct notifier_block *nfb, unsigned long action, |
358 | unsigned long action, void *hcpu) | 357 | void *hcpu) |
359 | { | 358 | { |
360 | int cpu = (long)hcpu; | 359 | int cpu = (long)hcpu; |
361 | int rc = 0; | 360 | int rc = 0; |
diff --git a/arch/s390/kernel/perf_cpum_cf.c b/arch/s390/kernel/perf_cpum_cf.c index 390d9ae57bb2..fb99c2057b85 100644 --- a/arch/s390/kernel/perf_cpum_cf.c +++ b/arch/s390/kernel/perf_cpum_cf.c | |||
@@ -639,8 +639,8 @@ static struct pmu cpumf_pmu = { | |||
639 | .cancel_txn = cpumf_pmu_cancel_txn, | 639 | .cancel_txn = cpumf_pmu_cancel_txn, |
640 | }; | 640 | }; |
641 | 641 | ||
642 | static int __cpuinit cpumf_pmu_notifier(struct notifier_block *self, | 642 | static int cpumf_pmu_notifier(struct notifier_block *self, unsigned long action, |
643 | unsigned long action, void *hcpu) | 643 | void *hcpu) |
644 | { | 644 | { |
645 | unsigned int cpu = (long) hcpu; | 645 | unsigned int cpu = (long) hcpu; |
646 | int flags; | 646 | int flags; |
diff --git a/arch/s390/kernel/processor.c b/arch/s390/kernel/processor.c index 753c41d0ffd3..24612029f450 100644 --- a/arch/s390/kernel/processor.c +++ b/arch/s390/kernel/processor.c | |||
@@ -21,7 +21,7 @@ static DEFINE_PER_CPU(struct cpuid, cpu_id); | |||
21 | /* | 21 | /* |
22 | * cpu_init - initializes state that is per-CPU. | 22 | * cpu_init - initializes state that is per-CPU. |
23 | */ | 23 | */ |
24 | void __cpuinit cpu_init(void) | 24 | void cpu_init(void) |
25 | { | 25 | { |
26 | struct s390_idle_data *idle = &__get_cpu_var(s390_idle); | 26 | struct s390_idle_data *idle = &__get_cpu_var(s390_idle); |
27 | struct cpuid *id = &__get_cpu_var(cpu_id); | 27 | struct cpuid *id = &__get_cpu_var(cpu_id); |
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c index 15a016c10563..d386c4e9d2e5 100644 --- a/arch/s390/kernel/smp.c +++ b/arch/s390/kernel/smp.c | |||
@@ -165,7 +165,7 @@ static void pcpu_ec_call(struct pcpu *pcpu, int ec_bit) | |||
165 | pcpu_sigp_retry(pcpu, order, 0); | 165 | pcpu_sigp_retry(pcpu, order, 0); |
166 | } | 166 | } |
167 | 167 | ||
168 | static int __cpuinit pcpu_alloc_lowcore(struct pcpu *pcpu, int cpu) | 168 | static int pcpu_alloc_lowcore(struct pcpu *pcpu, int cpu) |
169 | { | 169 | { |
170 | struct _lowcore *lc; | 170 | struct _lowcore *lc; |
171 | 171 | ||
@@ -616,10 +616,9 @@ static struct sclp_cpu_info *smp_get_cpu_info(void) | |||
616 | return info; | 616 | return info; |
617 | } | 617 | } |
618 | 618 | ||
619 | static int __cpuinit smp_add_present_cpu(int cpu); | 619 | static int smp_add_present_cpu(int cpu); |
620 | 620 | ||
621 | static int __cpuinit __smp_rescan_cpus(struct sclp_cpu_info *info, | 621 | static int __smp_rescan_cpus(struct sclp_cpu_info *info, int sysfs_add) |
622 | int sysfs_add) | ||
623 | { | 622 | { |
624 | struct pcpu *pcpu; | 623 | struct pcpu *pcpu; |
625 | cpumask_t avail; | 624 | cpumask_t avail; |
@@ -685,7 +684,7 @@ static void __init smp_detect_cpus(void) | |||
685 | /* | 684 | /* |
686 | * Activate a secondary processor. | 685 | * Activate a secondary processor. |
687 | */ | 686 | */ |
688 | static void __cpuinit smp_start_secondary(void *cpuvoid) | 687 | static void smp_start_secondary(void *cpuvoid) |
689 | { | 688 | { |
690 | S390_lowcore.last_update_clock = get_tod_clock(); | 689 | S390_lowcore.last_update_clock = get_tod_clock(); |
691 | S390_lowcore.restart_stack = (unsigned long) restart_stack; | 690 | S390_lowcore.restart_stack = (unsigned long) restart_stack; |
@@ -708,7 +707,7 @@ static void __cpuinit smp_start_secondary(void *cpuvoid) | |||
708 | } | 707 | } |
709 | 708 | ||
710 | /* Upping and downing of CPUs */ | 709 | /* Upping and downing of CPUs */ |
711 | int __cpuinit __cpu_up(unsigned int cpu, struct task_struct *tidle) | 710 | int __cpu_up(unsigned int cpu, struct task_struct *tidle) |
712 | { | 711 | { |
713 | struct pcpu *pcpu; | 712 | struct pcpu *pcpu; |
714 | int rc; | 713 | int rc; |
@@ -964,8 +963,8 @@ static struct attribute_group cpu_online_attr_group = { | |||
964 | .attrs = cpu_online_attrs, | 963 | .attrs = cpu_online_attrs, |
965 | }; | 964 | }; |
966 | 965 | ||
967 | static int __cpuinit smp_cpu_notify(struct notifier_block *self, | 966 | static int smp_cpu_notify(struct notifier_block *self, unsigned long action, |
968 | unsigned long action, void *hcpu) | 967 | void *hcpu) |
969 | { | 968 | { |
970 | unsigned int cpu = (unsigned int)(long)hcpu; | 969 | unsigned int cpu = (unsigned int)(long)hcpu; |
971 | struct cpu *c = &pcpu_devices[cpu].cpu; | 970 | struct cpu *c = &pcpu_devices[cpu].cpu; |
@@ -983,7 +982,7 @@ static int __cpuinit smp_cpu_notify(struct notifier_block *self, | |||
983 | return notifier_from_errno(err); | 982 | return notifier_from_errno(err); |
984 | } | 983 | } |
985 | 984 | ||
986 | static int __cpuinit smp_add_present_cpu(int cpu) | 985 | static int smp_add_present_cpu(int cpu) |
987 | { | 986 | { |
988 | struct cpu *c = &pcpu_devices[cpu].cpu; | 987 | struct cpu *c = &pcpu_devices[cpu].cpu; |
989 | struct device *s = &c->dev; | 988 | struct device *s = &c->dev; |
diff --git a/arch/s390/kernel/sysinfo.c b/arch/s390/kernel/sysinfo.c index 62f89d98e880..811f542b8ed4 100644 --- a/arch/s390/kernel/sysinfo.c +++ b/arch/s390/kernel/sysinfo.c | |||
@@ -418,7 +418,7 @@ void s390_adjust_jiffies(void) | |||
418 | /* | 418 | /* |
419 | * calibrate the delay loop | 419 | * calibrate the delay loop |
420 | */ | 420 | */ |
421 | void __cpuinit calibrate_delay(void) | 421 | void calibrate_delay(void) |
422 | { | 422 | { |
423 | s390_adjust_jiffies(); | 423 | s390_adjust_jiffies(); |
424 | /* Print the good old Bogomips line .. */ | 424 | /* Print the good old Bogomips line .. */ |
diff --git a/arch/s390/kernel/vtime.c b/arch/s390/kernel/vtime.c index 3fb09359eda6..9b9c1b78ec67 100644 --- a/arch/s390/kernel/vtime.c +++ b/arch/s390/kernel/vtime.c | |||
@@ -371,14 +371,14 @@ EXPORT_SYMBOL(del_virt_timer); | |||
371 | /* | 371 | /* |
372 | * Start the virtual CPU timer on the current CPU. | 372 | * Start the virtual CPU timer on the current CPU. |
373 | */ | 373 | */ |
374 | void __cpuinit init_cpu_vtimer(void) | 374 | void init_cpu_vtimer(void) |
375 | { | 375 | { |
376 | /* set initial cpu timer */ | 376 | /* set initial cpu timer */ |
377 | set_vtimer(VTIMER_MAX_SLICE); | 377 | set_vtimer(VTIMER_MAX_SLICE); |
378 | } | 378 | } |
379 | 379 | ||
380 | static int __cpuinit s390_nohz_notify(struct notifier_block *self, | 380 | static int s390_nohz_notify(struct notifier_block *self, unsigned long action, |
381 | unsigned long action, void *hcpu) | 381 | void *hcpu) |
382 | { | 382 | { |
383 | struct s390_idle_data *idle; | 383 | struct s390_idle_data *idle; |
384 | long cpu = (long) hcpu; | 384 | long cpu = (long) hcpu; |
diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c index 047c3e4c59a2..f00aefb66a4e 100644 --- a/arch/s390/mm/fault.c +++ b/arch/s390/mm/fault.c | |||
@@ -639,8 +639,8 @@ out: | |||
639 | put_task_struct(tsk); | 639 | put_task_struct(tsk); |
640 | } | 640 | } |
641 | 641 | ||
642 | static int __cpuinit pfault_cpu_notify(struct notifier_block *self, | 642 | static int pfault_cpu_notify(struct notifier_block *self, unsigned long action, |
643 | unsigned long action, void *hcpu) | 643 | void *hcpu) |
644 | { | 644 | { |
645 | struct thread_struct *thread, *next; | 645 | struct thread_struct *thread, *next; |
646 | struct task_struct *tsk; | 646 | struct task_struct *tsk; |