From bf0b23e3a4943c10e28b2f40cbfef0a1c278d0f6 Mon Sep 17 00:00:00 2001 From: "Justin M. Forbes" Date: Wed, 31 Oct 2018 13:11:02 -0500 Subject: Linux v4.19-11807-g310c7585e830 --- ...90-mm-Fix-ERROR-__node_distance-undefined.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 0001-s390-mm-Fix-ERROR-__node_distance-undefined.patch (limited to '0001-s390-mm-Fix-ERROR-__node_distance-undefined.patch') diff --git a/0001-s390-mm-Fix-ERROR-__node_distance-undefined.patch b/0001-s390-mm-Fix-ERROR-__node_distance-undefined.patch new file mode 100644 index 000000000..f35d94341 --- /dev/null +++ b/0001-s390-mm-Fix-ERROR-__node_distance-undefined.patch @@ -0,0 +1,32 @@ +From e94355905793eef85567e723feb43b72c98e8a83 Mon Sep 17 00:00:00 2001 +From: "Justin M. Forbes" +Date: Wed, 31 Oct 2018 11:56:22 -0500 +Subject: [PATCH] s390/mm: Fix ERROR: "__node_distance" undefined! + +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 +--- + 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 + -- cgit