aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/smp.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2008-02-05 10:50:40 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-02-05 10:50:56 -0500
commit2bc89b5ece48dc888734e8760ba5ad8566431912 (patch)
treea45eb094199323895f3a08892380382e60f9f7d0 /arch/s390/kernel/smp.c
parent37c5f719e71882b759fa8acbdd11d5ca3a7965bb (diff)
[S390] Fix couple of section mismatches.
Fix couple of section mismatches. And since we touch the code anyway change the IPL code to use C99 initializers. Cc: Michael Holzheu <holzheu@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/smp.c')
-rw-r--r--arch/s390/kernel/smp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c
index f5046fd4930f..85060659fb12 100644
--- a/arch/s390/kernel/smp.c
+++ b/arch/s390/kernel/smp.c
@@ -1007,7 +1007,7 @@ static struct notifier_block __cpuinitdata smp_cpu_nb = {
1007 .notifier_call = smp_cpu_notify, 1007 .notifier_call = smp_cpu_notify,
1008}; 1008};
1009 1009
1010static int smp_add_present_cpu(int cpu) 1010static int __devinit smp_add_present_cpu(int cpu)
1011{ 1011{
1012 struct cpu *c = &per_cpu(cpu_devices, cpu); 1012 struct cpu *c = &per_cpu(cpu_devices, cpu);
1013 struct sys_device *s = &c->sysdev; 1013 struct sys_device *s = &c->sysdev;
@@ -1035,8 +1035,8 @@ out:
1035} 1035}
1036 1036
1037#ifdef CONFIG_HOTPLUG_CPU 1037#ifdef CONFIG_HOTPLUG_CPU
1038static ssize_t rescan_store(struct sys_device *dev, const char *buf, 1038static ssize_t __ref rescan_store(struct sys_device *dev,
1039 size_t count) 1039 const char *buf, size_t count)
1040{ 1040{
1041 cpumask_t newcpus; 1041 cpumask_t newcpus;
1042 int cpu; 1042 int cpu;