All of lore.kernel.org
 help / color / mirror / Atom feed
* + powerpc-mm-fix-__node_distance-undefined.patch added to -mm tree
@ 2014-04-17 19:51 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2014-04-17 19:51 UTC (permalink / raw)
  To: mm-commits, srivatsa.bhat, sfr, rcj, paulus, nfont, jlarrew,
	benh, alistair, qiudayu

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 <qiudayu@linux.vnet.ibm.com>
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 <qiudayu@linux.vnet.ibm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Cc: Jesse Larrew <jlarrew@linux.vnet.ibm.com>
Cc: Robert Jennings <rcj@linux.vnet.ibm.com>
Cc: Alistair Popple <alistair@popple.id.au>
Cc: Mike Qiu <qiudayu@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-04-17 19:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-17 19:51 + powerpc-mm-fix-__node_distance-undefined.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.