powerpc/mm: fix ".__node_distance" undefined
authorMike Qiu <[email protected]>
Fri, 18 Apr 2014 22:07:14 +0000 (15:07 -0700)
committerLinus Torvalds <[email protected]>
Fri, 18 Apr 2014 23:40:08 +0000 (16:40 -0700)
commit12c743eb2289bcaace32859d4919417ff5707768
tree2d7660e6f85b0d6c591c5e563b392cd4ddc9a7a3
parent7861144b8cb217634d738e94a748deeae139a1e2
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 <[email protected]>
Acked-by: Benjamin Herrenschmidt <[email protected]>
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]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/powerpc/mm/numa.c