From: Gerald Schaefer <[email protected]>
[S390] add __cpuinit to appldata_cpu_notify
Use __cpuinit for CPU hotplug notifier function.
Signed-off-by: Gerald Schaefer <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
---
arch/s390/appldata/appldata_base.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -urpN linux-2.6/arch/s390/appldata/appldata_base.c linux-2.6-patched/arch/s390/appldata/appldata_base.c
--- linux-2.6/arch/s390/appldata/appldata_base.c 2006-08-07 14:14:23.000000000 +0200
+++ linux-2.6-patched/arch/s390/appldata/appldata_base.c 2006-08-07 14:14:46.000000000 +0200
@@ -618,7 +618,7 @@ appldata_offline_cpu(int cpu)
}
#ifdef CONFIG_HOTPLUG_CPU
-static int
+static int __cpuinit
appldata_cpu_notify(struct notifier_block *self,
unsigned long action, void *hcpu)
{