]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
s390/mm: Fix ERROR: "__node_distance" undefined!
authorJustin M. Forbes <jforbes@fedoraproject.org>
Wed, 31 Oct 2018 18:02:03 +0000 (13:02 -0500)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 02:00:15 +0000 (20:00 -0600)
BugLink: https://bugs.launchpad.net/bugs/1836968
[ 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>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/s390/numa/numa.c

index 5bd374491f9461467790e1e0522f838827f094df..6c151b42e65db2ec8c5b81243190eac2416e4f04 100644 (file)
@@ -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;