summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2007-04-26 01:02:51 -0700
committerDavid S. Miller <davem@davemloft.net>2007-04-26 01:02:51 -0700
commitf8a6d97043f9adc25889876b681998b77f543bfa (patch)
tree2ce6f60b0d8f81bb218b66e1aa79e92ea54abb4b /net
parent57cd5f754e04240ee587c51b7be8d3b7793542ae (diff)
downloadlinux-f8a6d97043f9adc25889876b681998b77f543bfa.tar.gz
linux-f8a6d97043f9adc25889876b681998b77f543bfa.tar.bz2
linux-f8a6d97043f9adc25889876b681998b77f543bfa.zip
[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: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/iucv/iucv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/iucv/iucv.c b/net/iucv/iucv.c
index 1b10d576f222..60f293842a39 100644
--- a/net/iucv/iucv.c
+++ b/net/iucv/iucv.c
@@ -519,7 +519,6 @@ static void iucv_disable(void)
kfree(iucv_path_table);
}
-#ifdef CONFIG_HOTPLUG_CPU
static int __cpuinit iucv_cpu_notify(struct notifier_block *self,
unsigned long action, void *hcpu)
{
@@ -565,7 +564,6 @@ static int __cpuinit iucv_cpu_notify(struct notifier_block *self,
static struct notifier_block iucv_cpu_notifier = {
.notifier_call = iucv_cpu_notify,
};
-#endif
/**
* iucv_sever_pathid