diff options
author | David S. Miller <davem@davemloft.net> | 2018-10-27 01:11:56 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-04 16:50:53 +0300 |
commit | 9b5bc99b10e8260b5fe4fab3a143869c50e7aea3 (patch) | |
tree | 1ee5d2b4bae725e0fe5d718d10b8eaeee882699b /arch/sparc | |
parent | 2b52f2c4e5e7da9203b0e8762e68dc3f3305b634 (diff) | |
download | linux-9b5bc99b10e8260b5fe4fab3a143869c50e7aea3.tar.xz |
sparc64: Export __node_distance.
[ Upstream commit 2b4792eaa9f553764047d157365ed8b7787751a3 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc')
-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) { |