diff options
Diffstat (limited to 'arch/s390/kernel/smp.c')
-rw-r--r-- | arch/s390/kernel/smp.c | 6 |
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 | ||
1010 | static int smp_add_present_cpu(int cpu) | 1010 | static 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 |
1038 | static ssize_t rescan_store(struct sys_device *dev, const char *buf, | 1038 | static 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; |