]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: IP27: Fix __node_distances undefined error
authorJames Cowgill <James.Cowgill@imgtec.com>
Thu, 13 Nov 2014 11:08:07 +0000 (11:08 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 19 Nov 2014 17:22:07 +0000 (18:22 +0100)
commit0a38863969dad5a9dfd7db7a69e2f6621fb65287
tree0caee22b32b4ebd68cf36bfcd81682e419338e14
parentff104d838263ead299275808871e314e7cea9d88
MIPS: IP27: Fix __node_distances undefined error

export the __node_distances symbol in the ip27 memory code to fix the
build error:

  Building modules, stage 2.
  MODPOST 311 modules
ERROR: "__node_distances" [drivers/block/nvme.ko] undefined!
scripts/Makefile.modpost:90: recipe for target '__modpost' failed

when building the kernel with:
 CONFIG_SGI_IP27=y
 CONFIG_BLK_DEV_NVME=m

Signed-off-by: James Cowgill <James.Cowgill@imgtec.com>
Cc: <stable@vger.kernel.org> # v3.15+
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sgi-ip27/ip27-memory.c