summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>2016-06-02 14:45:14 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2016-06-21 08:30:51 +0300
commitf8ab481066e7246e4b272233aa0b6948f5069f41 (patch)
treeebea60914bca3da4c99dad75b060904db676597f /drivers
parent16c19a2e983346c547501795aadffde1977b058d (diff)
downloadlinux-f8ab481066e7246e4b272233aa0b6948f5069f41.tar.xz
powerpc: export cpu_to_core_id()
Export cpu_to_core_id(). This will be used by the lpfc driver. This enables topology_core_id() from <linux/topology.h> (defined to cpu_to_core_id() in arch/powerpc/include/asm/topology.h) to be used by (non-builtin) modules. That is arch-neutral, already used by eg, drivers/base/topology.c, but it is builtin (obj-y in Makefile) thus didn't need the export. Since the module uses topology_core_id() and this is defined to cpu_to_core_id(), it needs the export, otherwise: ERROR: "cpu_to_core_id" [drivers/scsi/lpfc/lpfc.ko] undefined! Tested on next-20160601. Signed-off-by: Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions