Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp2461002imd; Fri, 2 Nov 2018 11:48:24 -0700 (PDT) X-Google-Smtp-Source: AJdET5eaYI/hwYEoVlyL10g+/96a/05PtqSOfd2F2CKccGME8BdB0XhO4LjvsU7V/ESnVaAEi9Sh X-Received: by 2002:a62:7701:: with SMTP id s1-v6mr13021863pfc.159.1541184504767; Fri, 02 Nov 2018 11:48:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541184504; cv=none; d=google.com; s=arc-20160816; b=NTR4tB4iUIIAd3cwZdXOKlp3Rok87u2DRjv+ItYLHNmSlwbgUFwznobw0CC5EhCPuq 9MHtgd8qT2yqAdPxwWiicYRdcOuP7KqfRO9PIwjV5F7gi7YoJ1jprnjFWbvkpoBxSe81 +7Zo7YolNYMU5Lw4spE1rL8aKuRGGTiAmRx7p0+eITox7gNWL7ub9L8zEWeuOwSqxYau LkSAN2ax/qvivufDYYxnuHfIXfv9qypZT0ayD13g0sIsCGe2xmMmkaP3jGGS2Bryjftr AsZR46bBR0QTKoEIdEOpMP+1H3l0e935OYPKMiYchGpa9N6lr8KbK3lVb74WS/P3ntw7 n18w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=EUzL1TPZ7iGviabDvwE5moBDpMYgGNEHYK6rZKfM56I=; b=H/PzRtwEm6LZeCYCwDo2WsPIgijSOwYKYdqsCr5V8U2wOXOlVzy0SJsDuIAyvlR7kY vVPWACZ9tpIafLTc7TMuvsiPsfeA/vVfp9HwmFn4wcgOBF5eUPykTpN/4BFuWcoofo+j qn4xLUsElKiBmGZEnD9ivY3XFPIVz5BH28zR8H9s/NGm0++DSjC1GcqSN5IzowaOnsR0 wpWGIxOU4W11SbjJ1g8na+DbDBv8WFGHNUDqLU9zyMJkE4Vh3yWeXkJWCjGV1B2eYjVx F5CisnnIPlQmW+UlTaRq2w7XqNavVP74U03/n5WMfKW2vy5/esPNCeqq5emA5hCzvvk2 XfTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0LTi9pqW; 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 g9-v6si31283503pgp.488.2018.11.02.11.48.09; Fri, 02 Nov 2018 11:48:24 -0700 (PDT) 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=pass header.i=@kernel.org header.s=default header.b=0LTi9pqW; 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 S1730294AbeKCDyH (ORCPT + 99 others); Fri, 2 Nov 2018 23:54:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:49942 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729310AbeKCDyH (ORCPT ); Fri, 2 Nov 2018 23:54:07 -0400 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B258420847; Fri, 2 Nov 2018 18:45:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541184354; bh=eIa6sQ4hErAezpLt5s8WLqBZ0eZV5sxuersO1voh380=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0LTi9pqW1CsbRJH4qwQQ4lgDBO/slmQ5wpZqIU2mXLCSmdS64Ph3Jo5GU8g1c1Q00 SHX8RDOcuYK52J3UecdtuZTl8g+Y9/TjfDHbbYAteZUd2ho2QmGuSOvRNdRI0uObp5 +kp+Ayrn0bCV1aKB7bJyu+HIgcgNqezmR8LemtJ8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "David S. Miller" Subject: [PATCH 4.18 142/150] sparc64: Export __node_distance. Date: Fri, 2 Nov 2018 19:35:04 +0100 Message-Id: <20181102182912.381681682@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181102182902.250560510@linuxfoundation.org> References: <20181102182902.250560510@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: "David S. Miller" [ Upstream commit 2b4792eaa9f553764047d157365ed8b7787751a3 ] Some drivers reference it via node_distance(), for example the NVME host driver core. ERROR: "__node_distance" [drivers/nvme/host/nvme-core.ko] undefined! make[1]: *** [scripts/Makefile.modpost:92: __modpost] Error 1 Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- arch/sparc/mm/init_64.c | 1 + 1 file changed, 1 insertion(+) --- a/arch/sparc/mm/init_64.c +++ b/arch/sparc/mm/init_64.c @@ -1383,6 +1383,7 @@ int __node_distance(int from, int to) } return numa_latency[from][to]; } +EXPORT_SYMBOL(__node_distance); static int __init find_best_numa_node_for_mlgroup(struct mdesc_mlgroup *grp) {