* [PATCH] s390: numa: Export __node_distance
@ 2018-11-04 21:28 Guenter Roeck
2018-11-05 6:08 ` Martin Schwidefsky
2018-11-05 6:08 ` Heiko Carstens
0 siblings, 2 replies; 3+ messages in thread
From: Guenter Roeck @ 2018-11-04 21:28 UTC (permalink / raw)
To: Martin Schwidefsky
Cc: Heiko Carstens, linux-s390, linux-kernel, Guenter Roeck,
Christoph Hellwig
__node_distance is used by nvme, resulting in:
ERROR: "__node_distance" [drivers/nvme/host/nvme-core.ko] undefined!
when trying to build nvme as module.
Fixes: f333444708f8 ("nvme: take node locality into account when selecting a path")
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
I thought I had seen that patch already, but I don't find it anywhere.
Maybe that was for another architecture. My apologies for the noise if it
is already queued.
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 ae0d9e889534..d31bde0870d8 100644
--- a/arch/s390/numa/numa.c
+++ b/arch/s390/numa/numa.c
@@ -53,6 +53,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.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] s390: numa: Export __node_distance
2018-11-04 21:28 [PATCH] s390: numa: Export __node_distance Guenter Roeck
@ 2018-11-05 6:08 ` Martin Schwidefsky
2018-11-05 6:08 ` Heiko Carstens
1 sibling, 0 replies; 3+ messages in thread
From: Martin Schwidefsky @ 2018-11-05 6:08 UTC (permalink / raw)
To: Guenter Roeck; +Cc: Heiko Carstens, linux-s390, linux-kernel, Christoph Hellwig
On Sun, 4 Nov 2018 13:28:06 -0800
Guenter Roeck <linux@roeck-us.net> wrote:
> __node_distance is used by nvme, resulting in:
>
> ERROR: "__node_distance" [drivers/nvme/host/nvme-core.ko] undefined!
>
> when trying to build nvme as module.
>
> Fixes: f333444708f8 ("nvme: take node locality into account when selecting a path")
> Cc: Christoph Hellwig <hch@lst.de>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
> I thought I had seen that patch already, but I don't find it anywhere.
> Maybe that was for another architecture. My apologies for the noise if it
> is already queued.
>
> 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 ae0d9e889534..d31bde0870d8 100644
> --- a/arch/s390/numa/numa.c
> +++ b/arch/s390/numa/numa.c
> @@ -53,6 +53,7 @@ int __node_distance(int a, int b)
> {
> return mode->distance ? mode->distance(a, b) : 0;
> }
> +EXPORT_SYMBOL(__node_distance);
>
> int numa_debug_enabled;
>
That one is already queued. I'll do the __no_kasan_or_inline
change that Linus requested and then send a please pull.
Should be upstream in a few days.
For reference:
https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/commit/?h=for-linus&id=a541f0ebcc08ed8bc0cc492eec9a86cb280a9f24
--
blue skies,
Martin.
"Reality continues to ruin my life." - Calvin.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] s390: numa: Export __node_distance
2018-11-04 21:28 [PATCH] s390: numa: Export __node_distance Guenter Roeck
2018-11-05 6:08 ` Martin Schwidefsky
@ 2018-11-05 6:08 ` Heiko Carstens
1 sibling, 0 replies; 3+ messages in thread
From: Heiko Carstens @ 2018-11-05 6:08 UTC (permalink / raw)
To: Guenter Roeck
Cc: Martin Schwidefsky, linux-s390, linux-kernel, Christoph Hellwig
On Sun, Nov 04, 2018 at 01:28:06PM -0800, Guenter Roeck wrote:
> __node_distance is used by nvme, resulting in:
>
> ERROR: "__node_distance" [drivers/nvme/host/nvme-core.ko] undefined!
>
> when trying to build nvme as module.
>
> Fixes: f333444708f8 ("nvme: take node locality into account when selecting a path")
> Cc: Christoph Hellwig <hch@lst.de>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
> I thought I had seen that patch already, but I don't find it anywhere.
> Maybe that was for another architecture. My apologies for the noise if it
> is already queued.
It's already queued here: https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git/commit/?h=for-linus&id=a541f0ebcc08ed8bc0cc492eec9a86cb280a9f24
> diff --git a/arch/s390/numa/numa.c b/arch/s390/numa/numa.c
> index ae0d9e889534..d31bde0870d8 100644
> --- a/arch/s390/numa/numa.c
> +++ b/arch/s390/numa/numa.c
> @@ -53,6 +53,7 @@ int __node_distance(int a, int b)
> {
> return mode->distance ? mode->distance(a, b) : 0;
> }
> +EXPORT_SYMBOL(__node_distance);
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-11-05 6:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-04 21:28 [PATCH] s390: numa: Export __node_distance Guenter Roeck
2018-11-05 6:08 ` Martin Schwidefsky
2018-11-05 6:08 ` Heiko Carstens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).