From: akpm@linux-foundation.org Subject: + powerpc-mm-fix-__node_distance-undefined.patch added to -mm tree Date: Thu, 17 Apr 2014 12:51:16 -0700 Message-ID: <535030b4.6T5NHlzxMPIv1rd7%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:59815 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751102AbaDQTvR (ORCPT ); Thu, 17 Apr 2014 15:51:17 -0400 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: mm-commits@vger.kernel.org, srivatsa.bhat@linux.vnet.ibm.com, sfr@canb.auug.org.au, rcj@linux.vnet.ibm.com, paulus@samba.org, nfont@linux.vnet.ibm.com, jlarrew@linux.vnet.ibm.com, benh@kernel.crashing.org, alistair@popple.id.au, qiudayu@linux.vnet.ibm.com Subject: + powerpc-mm-fix-__node_distance-undefined.patch added to -mm tree To: qiudayu@linux.vnet.ibm.com,alistair@popple.id.au,benh@kernel.crashing.org,jlarrew@linux.vnet.ibm.com,nfont@linux.vnet.ibm.com,paulus@samba.org,rcj@linux.vnet.ibm.com,sfr@canb.auug.org.au,srivatsa.bhat@linux.vnet.ibm.com From: akpm@linux-foundation.org Date: Thu, 17 Apr 2014 12:51:16 -0700 The patch titled Subject: powerpc/mm: fix ".__node_distance" undefined has been added to the -mm tree. Its filename is powerpc-mm-fix-__node_distance-undefined.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/powerpc-mm-fix-__node_distance-undefined.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/powerpc-mm-fix-__node_distance-undefined.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Mike Qiu Subject: powerpc/mm: fix ".__node_distance" undefined CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h ... Building modules, stage 2. WARNING: 1 bad relocations c0000000013d6a30 R_PPC64_ADDR64 uprobes_fetch_type_table WRAP arch/powerpc/boot/zImage.pseries WRAP arch/powerpc/boot/zImage.epapr MODPOST 1849 modules ERROR: ".__node_distance" [drivers/block/nvme.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 make: *** Waiting for unfinished jobs.... The reason is symbol "__node_distance" not been exported in powerpc. Signed-off-by: Mike Qiu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Nathan Fontenot Cc: Stephen Rothwell Cc: Srivatsa S. Bhat Cc: Jesse Larrew Cc: Robert Jennings Cc: Alistair Popple Cc: Mike Qiu Signed-off-by: Andrew Morton --- arch/powerpc/mm/numa.c | 1 + 1 file changed, 1 insertion(+) diff -puN arch/powerpc/mm/numa.c~powerpc-mm-fix-__node_distance-undefined arch/powerpc/mm/numa.c --- a/arch/powerpc/mm/numa.c~powerpc-mm-fix-__node_distance-undefined +++ a/arch/powerpc/mm/numa.c @@ -232,6 +232,7 @@ int __node_distance(int a, int b) return distance; } +EXPORT_SYMBOL(__node_distance); static void initialize_distance_lookup_table(int nid, const __be32 *associativity) _ Patches currently in -mm which might be from qiudayu@linux.vnet.ibm.com are powerpc-mm-fix-__node_distance-undefined.patch linux-next.patch