s390/mm: Fix ERROR: "__node_distance" undefined!
PATCH 1/1 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 <[email protected]>
--- arch/s390/numa/numa.c | 2 ++ 1 file changed, 2 insertions(+)
arch/s390/numa/numa.c +2 -0
@@ -55,6 +55,8 @@ int __node_distance(int a, int b)return mode->distance ? mode->distance (a, b) :0 ; } +EXPORT_SYMBOL (__node_distance); +int numa_debug_enabled;/*
Signature · 1 line
2.19.1
Heiko Carstens
AppliedQuoted 10 lines · Justin M. Forbes
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 1Signed-off-by Justin M. Forbes <[email protected]>--- arch/s390/numa/numa.c | 2 ++ 1 file changed, 2 insertions(+)
Applied, thanks.