Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp2453796imd; Fri, 2 Nov 2018 11:40:20 -0700 (PDT) X-Google-Smtp-Source: AJdET5fIpb2SbzENARGPnofE5mGskZ0nBDP/6ZWT7mZRUEFDESizFDclmjXe5KKsGk21PPalmQRx X-Received: by 2002:a17:902:5a43:: with SMTP id f3-v6mr3879153plm.57.1541184020191; Fri, 02 Nov 2018 11:40:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541184020; cv=none; d=google.com; s=arc-20160816; b=gb2meqnGSM1429d3aa83Qphb2gOBaqQ7mB7lW3qXpMvbBP/fPFlnhi91PUu1nmABwI JJV5YCEqNNbm4X5MXKW9pzJqD0Efxkqx6b9+U/NbHBjuDWxeCglZz3Dywe8TGXyxoKCp U5WoBHq4P54X9q7Bp5MULxTwHjCgQaZf3VfV28gWvo8BiooXJAwCIg3l4/AWnqjDzBlo 93f2kzYVZKVRcoRCfiXj3DUOERfFrzILc+FQlmnhS1s4JrYimgsYmfOdiQ8s5GH5oA93 u/2sXstacXI77bPZZyXlTlyKhJxDano8x/YXpOPkZDT9y9RuYf4f/nUN5R17nloWu0Yr v8Lw== 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=lH1PcYmZS4irjSUmj199BTajAvpufu6S6epCKOG3v68=; b=Hf3VVyOiHTcOFodheGosVWhZMIwtfANEU0RRjiDQZURplQbhO3IHMPZ6Y+Wrohjy8w w39Dvjp4d2qmSC+X3fWibZlo8pSQyRyIdIL+4KAauLtznQxxLZGjdzjlVc5b8vCLpvIy RZn83uvf2cyi7cMR+NNSpi9Yl2x58ycNbYU5104pem09vu+nbiwcnEVeyCSD+99IvcKQ VHeZ52gKDw+pMZ7PDHuPcs+4OzYBlTYF3IQBALWHV5b25g2oRtZW6tjFRaoNJtXfmK4n OB35NhhMComcX2GT7iVWOviC/EAgB5CaSAxwTIaYarQB9Y0VO1vnmlYrmaqxewKoxeQ0 iupg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yf46Q1mS; 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 b65si7859457pgc.259.2018.11.02.11.40.05; Fri, 02 Nov 2018 11:40:20 -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=yf46Q1mS; 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 S1728673AbeKCDqA (ORCPT + 99 others); Fri, 2 Nov 2018 23:46:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:39674 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727556AbeKCDp7 (ORCPT ); Fri, 2 Nov 2018 23:45:59 -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 78DB52081B; Fri, 2 Nov 2018 18:37:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541183869; bh=ScoAWmV/Eh/I3HHTxFE0AtgBb2X1SiovaQ3HHT+hB+I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yf46Q1mSKkJWZg1w0uTh267HtmbBHiF8cjqgESZq7uNBgPxiCEvRMltSv8hEBrJWA /oMvZ8BWgTDMZbGUDscfOg2oF6ifJhQfDZygpZWuJWisMHVOUyDe+0yimbylNaKKjI njSqXCmpLGULb8F2yx5uN1Ehf+dXO8UKh1hAYbUI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "David S. Miller" Subject: [PATCH 4.19 21/24] sparc64: Export __node_distance. Date: Fri, 2 Nov 2018 19:34:54 +0100 Message-Id: <20181102182842.992899401@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181102182839.725385066@linuxfoundation.org> References: <20181102182839.725385066@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.19-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) {