[patch] s390: add __cpuinit to appldata_cpu_notify

From: Martin Schwidefsky
Date: Mon Aug 07 2006 - 11:05:10 EST


From: Gerald Schaefer <geraldsc@xxxxxxxxxx>

[S390] add __cpuinit to appldata_cpu_notify

Use __cpuinit for CPU hotplug notifier function.

Signed-off-by: Gerald Schaefer <geraldsc@xxxxxxxxxx>
Signed-off-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
---

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)
{
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/