| From 6513279a6385d1f98a2cb84d39b133e0322e0ba8 Mon Sep 17 00:00:00 2001 |
| From: "Justin M. Forbes" <jforbes@fedoraproject.org> |
| Date: Wed, 31 Oct 2018 13:02:03 -0500 |
| Subject: s390/mm: Fix ERROR: "__node_distance" undefined! |
| |
| [ Upstream commit a541f0ebcc08ed8bc0cc492eec9a86cb280a9f24 ] |
| |
| 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> |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| arch/s390/numa/numa.c | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| diff --git a/arch/s390/numa/numa.c b/arch/s390/numa/numa.c |
| index 5bd374491f94..6c151b42e65d 100644 |
| --- a/arch/s390/numa/numa.c |
| +++ b/arch/s390/numa/numa.c |
| @@ -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; |
| |
| -- |
| 2.17.1 |
| |