1 From de727d65177775a60c567b2e3935f6f964f80de9 Mon Sep 17 00:00:00 2001
2 From: "Justin M. Forbes" <jforbes@fedoraproject.org>
3 Date: Wed, 31 Oct 2018 13:02:03 -0500
4 Subject: s390/mm: Fix ERROR: "__node_distance" undefined!
6 [ Upstream commit a541f0ebcc08ed8bc0cc492eec9a86cb280a9f24 ]
9 ERROR: "__node_distance" [drivers/nvme/host/nvme-core.ko] undefined!
10 make[1]: *** [scripts/Makefile.modpost:92: __modpost] Error 1
11 make: *** [Makefile:1275: modules] Error 2
14 Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
15 Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
16 Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
17 Signed-off-by: Sasha Levin <sashal@kernel.org>
19 arch/s390/numa/numa.c | 1 +
20 1 file changed, 1 insertion(+)
22 diff --git a/arch/s390/numa/numa.c b/arch/s390/numa/numa.c
23 index 43f32ce60aa3..734f56d774bb 100644
24 --- a/arch/s390/numa/numa.c
25 +++ b/arch/s390/numa/numa.c
26 @@ -47,6 +47,7 @@ int __node_distance(int a, int b)
28 return mode->distance ? mode->distance(a, b) : 0;
30 +EXPORT_SYMBOL(__node_distance);
32 int numa_debug_enabled;