On Thu, 2016-02-06 at 11:45:14 UTC, Mauricio Faria de Oliveira wrote: > 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! > > Signed-off-by: Mauricio Faria de Oliveira <mauri...@linux.vnet.ibm.com>
Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/f8ab481066e7246e4b272233aa cheers _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev