All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] powerpc: export cpu_to_core_id()
@ 2016-06-01 20:16 Mauricio Faria de Oliveira
  2016-06-01 20:19 ` Mauricio Faria de Oliveira
  2016-06-02  7:41 ` Michael Ellerman
  0 siblings, 2 replies; 7+ messages in thread
From: Mauricio Faria de Oliveira @ 2016-06-01 20:16 UTC (permalink / raw)
  To: linuxppc-dev

Export cpu_to_core_id().  This will be used by the lpfc driver.

Tested on next-20160601.

Signed-off-by: Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>
---
 arch/powerpc/kernel/smp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c
index 55c924b..67136e7 100644
--- a/arch/powerpc/kernel/smp.c
+++ b/arch/powerpc/kernel/smp.c
@@ -593,6 +593,7 @@ out:
 	of_node_put(np);
 	return id;
 }
+EXPORT_SYMBOL_GPL(cpu_to_core_id);
 
 /* Helper routines for cpu to core mapping */
 int cpu_core_index_of_thread(int cpu)
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-06-02 11:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-01 20:16 [PATCH 1/3] powerpc: export cpu_to_core_id() Mauricio Faria de Oliveira
2016-06-01 20:19 ` Mauricio Faria de Oliveira
2016-06-02  7:41 ` Michael Ellerman
2016-06-02  9:00   ` Mauricio Faria de Oliveira
2016-06-02  9:05     ` Mauricio Faria de Oliveira
     [not found]   ` <201606020900.u528tQHH025445@mx0a-001b2d01.pphosted.com>
2016-06-02 11:03     ` Michael Ellerman
2016-06-02 11:22       ` Mauricio Faria de Oliveira

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.