RE: [PATCH] powerpc: Fix inconsistent of_node_to_nid EXPORT_SYMBOL handling

2017-02-09 Thread Shailendra Singh
s.org Cc: j...@ozlabs.org; apop...@au1.ibm.com; balb...@au1.ibm.com; Andy Ritger ; John Hubbard ; Sherry Cheung ; Aruna Manjunatha ; John McKenna ; david.da...@cavium.com; r...@kernel.org; will.dea...@arm.com; Arnd Bergmann Subject: Re: [PATCH] powerpc: Fix inconsistent of_node_to_nid EXP

Re: [PATCH] powerpc: Fix inconsistent of_node_to_nid EXPORT_SYMBOL handling

2017-02-09 Thread Michael Ellerman
Shailendra Singh writes: > The generic implementation of of_node_to_nid is EXPORT_SYMBOL. True. Added in 298535c00a2c, in April 2016. > The powerpc implementation added by following commit is EXPORT_SYMBOL_GPL. > commit 953039c8df7b ("[PATCH] powerpc: Allow devices to register with numa > topol

[PATCH] powerpc: Fix inconsistent of_node_to_nid EXPORT_SYMBOL handling

2017-02-01 Thread Shailendra Singh
The generic implementation of of_node_to_nid is EXPORT_SYMBOL. The powerpc implementation added by following commit is EXPORT_SYMBOL_GPL. commit 953039c8df7b ("[PATCH] powerpc: Allow devices to register with numa topology") This creates an inconsistency for of_node_to_nid callers across architect