From: "Justin M. Forbes" <jforbes@fedoraproject.org>
To: linux-s390@vger.kernel.org
Subject: [PATCH] s390/mm: Fix ERROR: "__node_distance" undefined!
Date: Wed, 31 Oct 2018 18:02:03 +0000 [thread overview]
Message-ID: <20181031180203.27256-1-jforbes@fedoraproject.org> (raw)
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
next reply other threads:[~2018-10-31 18:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-31 18:02 Justin M. Forbes [this message]
2018-11-01 10:00 ` [PATCH] s390/mm: Fix ERROR: "__node_distance" undefined! Heiko Carstens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181031180203.27256-1-jforbes@fedoraproject.org \
--to=jforbes@fedoraproject.org \
--cc=linux-s390@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox