summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2018-10-31 13:02:03 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-27 16:09:39 +0100
commit064cd456641a57c9eb2259269208c5aee9776679 (patch)
treeb41aee7a7bfb1488c14806f80b789ae26fb3e630 /arch/s390
parent919560afc21f91ca352a20394d5249aba1799690 (diff)
s390/mm: Fix ERROR: "__node_distance" undefined!
[ Upstream commit a541f0ebcc08ed8bc0cc492eec9a86cb280a9f24 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
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 0dac2640c3a7..e73a1165d261 100644
--- a/arch/s390/numa/numa.c
+++ b/arch/s390/numa/numa.c
@@ -53,6 +53,7 @@ int __node_distance(int a, int b)
{
return mode->distance ? mode->distance(a, b) : 0;
}
+EXPORT_SYMBOL(__node_distance);
int numa_debug_enabled;