diff options
author | David S. Miller <davem@davemloft.net> | 2018-10-27 01:11:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-27 01:11:56 +0300 |
commit | 2b4792eaa9f553764047d157365ed8b7787751a3 (patch) | |
tree | 1f5ffe2a8dd6aeb596347bf60bc1ec0fbe869597 /arch | |
parent | 5b4fc3882a649c9411dd0dcad2ddb78e911d340e (diff) | |
download | linux-2b4792eaa9f553764047d157365ed8b7787751a3.tar.xz |
sparc64: Export __node_distance.
Some drivers reference it via node_distance(), for example the
NVME host driver core.
ERROR: "__node_distance" [drivers/nvme/host/nvme-core.ko] undefined!
make[1]: *** [scripts/Makefile.modpost:92: __modpost] Error 1
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc/mm/init_64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c index f396048a0d68..39822f611c01 100644 --- a/arch/sparc/mm/init_64.c +++ b/arch/sparc/mm/init_64.c @@ -1383,6 +1383,7 @@ int __node_distance(int from, int to) } return numa_latency[from][to]; } +EXPORT_SYMBOL(__node_distance); static int __init find_best_numa_node_for_mlgroup(struct mdesc_mlgroup *grp) { |