summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2018-10-31 13:02:03 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-11-02 08:31:57 +0100
commita541f0ebcc08ed8bc0cc492eec9a86cb280a9f24 (patch)
tree7b39f6c9dad52432114f27f6a18b3b9f9aa80da5 /arch/s390
parent9fed920e6817218ad786c3f28e14b4c877cc2aed (diff)
downloadlinux-a541f0ebcc08ed8bc0cc492eec9a86cb280a9f24.tar.bz2
s390/mm: Fix ERROR: "__node_distance" undefined!
Fixes: ERROR: "__node_distance" [drivers/nvme/host/nvme-core.ko] undefined! make[1]: *** [scripts/Makefile.modpost:92: __modpost] Error 1 make: *** [Makefile:1275: modules] Error 2 + exit 1 Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/numa/numa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/numa/numa.c b/arch/s390/numa/numa.c
index 5bd374491f94..6c151b42e65d 100644
--- a/arch/s390/numa/numa.c
+++ b/arch/s390/numa/numa.c
@@ -54,6 +54,7 @@ int __node_distance(int a, int b)
{
return mode->distance ? mode->distance(a, b) : 0;
}
+EXPORT_SYMBOL(__node_distance);
int numa_debug_enabled;