Commit f8a6d970 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by David S. Miller

[AF_IUCV]: Fix compilation on s390-up

  CC [M]  net/iucv/iucv.o
net/iucv/iucv.c: In function 'iucv_init':
net/iucv/iucv.c:1556: error: 'iucv_cpu_notifier' undeclared (first use in this function)
Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 57cd5f75
...@@ -519,7 +519,6 @@ static void iucv_disable(void) ...@@ -519,7 +519,6 @@ static void iucv_disable(void)
kfree(iucv_path_table); kfree(iucv_path_table);
} }
#ifdef CONFIG_HOTPLUG_CPU
static int __cpuinit iucv_cpu_notify(struct notifier_block *self, static int __cpuinit iucv_cpu_notify(struct notifier_block *self,
unsigned long action, void *hcpu) unsigned long action, void *hcpu)
{ {
...@@ -565,7 +564,6 @@ static int __cpuinit iucv_cpu_notify(struct notifier_block *self, ...@@ -565,7 +564,6 @@ static int __cpuinit iucv_cpu_notify(struct notifier_block *self,
static struct notifier_block iucv_cpu_notifier = { static struct notifier_block iucv_cpu_notifier = {
.notifier_call = iucv_cpu_notify, .notifier_call = iucv_cpu_notify,
}; };
#endif
/** /**
* iucv_sever_pathid * iucv_sever_pathid
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment