aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/mm
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-10-26 15:11:56 -0700
committerDavid S. Miller <davem@davemloft.net>2018-10-26 15:11:56 -0700
commit2b4792eaa9f553764047d157365ed8b7787751a3 (patch)
tree1f5ffe2a8dd6aeb596347bf60bc1ec0fbe869597 /arch/sparc/mm
parentsparc64: Make corrupted user stacks more debuggable. (diff)
downloadlinux-dev-2b4792eaa9f553764047d157365ed8b7787751a3.tar.xz
linux-dev-2b4792eaa9f553764047d157365ed8b7787751a3.zip
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/sparc/mm')
-rw-r--r--arch/sparc/mm/init_64.c1
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)
{