Skip to contentSkip to conversation

powerpc-mm-fix-__node_distance-undefined.patch removed from -mm tree

merged [email protected] 1 participant 1 message Apr 21, 2014 PowerPC

lore
Share & tools
lore
#0 lore raw

Subject: [merged] powerpc-mm-fix-__node_distance-undefined.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 21 Apr 2014 11:10:57 -0700

The patch titled
Subject: powerpc/mm: fix ".__node_distance" undefined
has been removed from the -mm tree. Its filename was
powerpc-mm-fix-__node_distance-undefined.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Mike Qiu <[email protected]>
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.

Cc Paul Mackerras <[email protected]>
Cc Nathan Fontenot <[email protected]>
Cc Stephen Rothwell <[email protected]>
Cc Srivatsa S. Bhat <[email protected]>
Cc Jesse Larrew <[email protected]>
Cc Robert Jennings <[email protected]>
Cc Alistair Popple <[email protected]>
Cc Mike Qiu <[email protected]>

---

 arch/powerpc/mm/numa.c |    1 +
 1 file changed, 1 insertion(+)
arch/powerpc/mm/numa.c renamed from arch/powerpc/mm/numa.c~powerpc-mm-fix-__node_distance-undefined +1 -0
diff -puN arch/powerpc/mm/numa.c~powerpc-mm-fix-__node_distance-undefined 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 [email protected] are

linux-next.patch