Skip to content

Commit

Permalink
s390/mm: Fix ERROR: "__node_distance" undefined!
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Justin M. Forbes authored and Martin Schwidefsky committed Nov 2, 2018
1 parent 9fed920 commit a541f0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/s390/numa/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a541f0e

Please sign in to comment.