+ powerpc-mm-fix-__node_distance-undefined.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Subject: + powerpc-mm-fix-__node_distance-undefined.patch added to -mm tree
To: qiudayu@xxxxxxxxxxxxxxxxxx,alistair@xxxxxxxxxxxx,benh@xxxxxxxxxxxxxxxxxxx,jlarrew@xxxxxxxxxxxxxxxxxx,nfont@xxxxxxxxxxxxxxxxxx,paulus@xxxxxxxxx,rcj@xxxxxxxxxxxxxxxxxx,sfr@xxxxxxxxxxxxxxxx,srivatsa.bhat@xxxxxxxxxxxxxxxxxx
From: akpm@xxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxx>
Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
Cc: Paul Mackerras <paulus@xxxxxxxxx>
Cc: Nathan Fontenot <nfont@xxxxxxxxxxxxxxxxxx>
Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Cc: Srivatsa S. Bhat <srivatsa.bhat@xxxxxxxxxxxxxxxxxx>
Cc: Jesse Larrew <jlarrew@xxxxxxxxxxxxxxxxxx>
Cc: Robert Jennings <rcj@xxxxxxxxxxxxxxxxxx>
Cc: Alistair Popple <alistair@xxxxxxxxxxxx>
Cc: Mike Qiu <qiudayu@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 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@xxxxxxxxxxxxxxxxxx are

powerpc-mm-fix-__node_distance-undefined.patch
linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux