Skip to content

Commit a541f0e

Browse files
jmflinuxtxMartin Schwidefsky
authored andcommitted
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>
1 parent 9fed920 commit a541f0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/s390/numa/numa.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ int __node_distance(int a, int b)
5454
{
5555
return mode->distance ? mode->distance(a, b) : 0;
5656
}
57+
EXPORT_SYMBOL(__node_distance);
5758

5859
int numa_debug_enabled;
5960

0 commit comments

Comments
 (0)