From: Justin M. Forbes Date: Wed, 31 Oct 2018 18:02:03 +0000 (-0500) Subject: s390/mm: Fix ERROR: "__node_distance" undefined! X-Git-Tag: v4.20-rc2~22^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a541f0ebcc08ed8bc0cc492eec9a86cb280a9f24;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/numa/numa.c b/arch/s390/numa/numa.c index 5bd374491f946..6c151b42e65db 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;