* [PATCH] s390/mm: Fix ERROR: "__node_distance" undefined!
@ 2018-10-31 18:02 Justin M. Forbes
2018-11-01 10:00 ` Heiko Carstens
0 siblings, 1 reply; 2+ messages in thread
From: Justin M. Forbes @ 2018-10-31 18:02 UTC (permalink / raw)
To: linux-s390
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>
---
arch/s390/numa/numa.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/s390/numa/numa.c b/arch/s390/numa/numa.c
index 5bd374491f94..bef306e45da8 100644
--- a/arch/s390/numa/numa.c
+++ b/arch/s390/numa/numa.c
@@ -55,6 +55,8 @@ int __node_distance(int a, int b)
return mode->distance ? mode->distance(a, b) : 0;
}
+EXPORT_SYMBOL(__node_distance);
+
int numa_debug_enabled;
/*
--
2.19.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] s390/mm: Fix ERROR: "__node_distance" undefined!
2018-10-31 18:02 [PATCH] s390/mm: Fix ERROR: "__node_distance" undefined! Justin M. Forbes
@ 2018-11-01 10:00 ` Heiko Carstens
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Carstens @ 2018-11-01 10:00 UTC (permalink / raw)
To: linux-s390
On Wed, Oct 31, 2018 at 01:02:03PM -0500, Justin M. Forbes wrote:
> 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>
> ---
> arch/s390/numa/numa.c | 2 ++
> 1 file changed, 2 insertions(+)
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-01 10:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-31 18:02 [PATCH] s390/mm: Fix ERROR: "__node_distance" undefined! Justin M. Forbes
2018-11-01 10:00 ` Heiko Carstens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox