Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp2084845imd; Sun, 4 Nov 2018 16:51:18 -0800 (PST) X-Google-Smtp-Source: AJdET5e+l+emt5hMQahx66+hGs01sOEoVjE12qGlilGxsCBhH3aH3+OAmchOhqstC1m81Z7s83hR X-Received: by 2002:a17:902:7203:: with SMTP id ba3-v6mr15240290plb.62.1541379078121; Sun, 04 Nov 2018 16:51:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541379078; cv=none; d=google.com; s=arc-20160816; b=IQ1PZkoC/JKdanYv/vSZDD7+D8tvj+o0zt8o8bsp3I2kZqlKZuCpaKYaXdP8PA61KM IlphsEOZhN5uSayzEWNG8MglPwIGwly26PdOUvnE1Tcp8GUZrI3fF6kz4G982x6746b0 pKkV4ndLzUqBiQImPU0ihVQ6S1jZ1/JR7Mbnm3thObFltSskX9SOv3cKElK5lvzzbZfL LVRQGWiLBoJ56JpSRvjKLRAshg0EY3Ouh/zTWkwWwicLQCjYuGha0XaleI/NEYh19+1S wAw0H19qqg685hZ3uCDcRpG3EydpRNTV6++KaOW4Vhlk3SLvMPkOWQoXYDxZGzGrFeb+ LXgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=rHvza5VKJTWWZ+uoSrApwD6oMnYK7DMRclyH9B4ZXv8=; b=d+yhxV7l3VWnpdtUjrcLh2x/TGJY56H9FtO5p/HXOJPoZlhgyy25P2Z/rVuKCIX3R3 6CgRNHogdKG7DuX07jLbx2DysFNeOyJmyvxAgKSyt72o1boimuyQ0EXZiQjTxSVCeGA/ OOzV2YBAwkW34IjSP4EASYwZlqtGDdRr7ycxloAUWBm9Mhftfcjsdx+han2+CSwCC/ve U3NUmPyZJVNdX7OL/NB7YsF0GUM9TlcSs3sQE3eVtaUbMKkeXVkKGyyzT0v3F3I+RYtQ m1LhukIgX+YEaEvhVedeT2qQ+mYQYzmwiO0zL/3reuDefT8atCyjvKKfD0wJyl2nTpaU NNyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=RfDEvO8Q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i1-v6si40292132pgm.328.2018.11.04.16.51.03; Sun, 04 Nov 2018 16:51:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=RfDEvO8Q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729401AbeKEGod (ORCPT + 99 others); Mon, 5 Nov 2018 01:44:33 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:36921 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729162AbeKEGod (ORCPT ); Mon, 5 Nov 2018 01:44:33 -0500 Received: by mail-pl1-f196.google.com with SMTP id p6-v6so3414436pll.4; Sun, 04 Nov 2018 13:28:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=rHvza5VKJTWWZ+uoSrApwD6oMnYK7DMRclyH9B4ZXv8=; b=RfDEvO8Q8aGltrD54DxFb4Z38OHjG1Ikh/vT55ran2p9uDqVf36hszo3+4ywUi+blA ZuTqcCV+ExZFgqXLDmPwS7JKYh4vwI4m6PxJ2od8U2wbCCebmeHj86H+4IJYvoXgKZL0 B8a6YKq4TAY8oVmD9Z/RRCgp31/UQQgV3Xd1MLb0YFWbMeDXNu7iMzNiUSco8xGvIWOH 5k7tQ7lfRsXlyVGMaSL+NUmYZ7N0OHynPCLRpKJbQvQtHZwg0ZLL3Kr3v//rx4kBf6IF h25ueNeToQMBNkpuQZkn+mg6SUqAghTTCJCivIhlUZRGgSdh2qNqifV32G2z/3G655go RQ4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=rHvza5VKJTWWZ+uoSrApwD6oMnYK7DMRclyH9B4ZXv8=; b=lsGKCifECx94hgy4PcvTK7AWB9IikkE1VyRev9/lqc0WPJ9jBat6RQe+N5LZXa3i/K GZHIWJaGB82ijk+MDJ68fU2RuoKTLvqacttVkSZZJiv/FVB7O4o0w0L0GuxC62UpJtx3 ad4uLKumx60YnxkBrvzQpBzvNHCXtDgGZWGaq6qus8FNhBaW7NdMqGQs3cjy121JgY7B dqUYPR4kMw5J0Q7j6qORImcZwIKiVjf/AOEhfi7Lt9EcD9p/RcUf7mlp7QUT6Nxi6Z4i POUg+6GEd6H/scfFhL10cz3DCBNAFZQYESG4UJnhQ8h5Cd0YsUZiEx+q054bSc63ncF7 uSMQ== X-Gm-Message-State: AGRZ1gK6kpSHf4ClNl6zGO5G6nlIqku6vFTVhtOk3mwLJL2bfilU+hOY U42qkA6a7TXYTyxl6Jdjzx0= X-Received: by 2002:a17:902:d708:: with SMTP id w8-v6mr11866531ply.72.1541366889838; Sun, 04 Nov 2018 13:28:09 -0800 (PST) Received: from localhost ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id e8-v6sm11801720pfi.61.2018.11.04.13.28.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Nov 2018 13:28:08 -0800 (PST) From: Guenter Roeck To: Martin Schwidefsky Cc: Heiko Carstens , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, Guenter Roeck , Christoph Hellwig Subject: [PATCH] s390: numa: Export __node_distance Date: Sun, 4 Nov 2018 13:28:06 -0800 Message-Id: <1541366886-32127-1-git-send-email-linux@roeck-us.net> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org __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 Signed-off-by: Guenter Roeck --- 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