mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
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>
This commit is contained in:
parent
5b4fc3882a
commit
2b4792eaa9
1 changed files with 1 additions and 0 deletions
|
@ -1383,6 +1383,7 @@ int __node_distance(int from, int to)
|
||||||
}
|
}
|
||||||
return numa_latency[from][to];
|
return numa_latency[from][to];
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(__node_distance);
|
||||||
|
|
||||||
static int __init find_best_numa_node_for_mlgroup(struct mdesc_mlgroup *grp)
|
static int __init find_best_numa_node_for_mlgroup(struct mdesc_mlgroup *grp)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue