]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Drop GPL from of_node_to_nid() export to match other arches
authorShailendra Singh <shailendras@nvidia.com>
Wed, 1 Feb 2017 22:52:42 +0000 (14:52 -0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 10 Feb 2017 02:28:05 +0000 (13:28 +1100)
commitabb1e8378bf0390aad3eeee4dbac3f984be710a2
treead6fa6032887f718d223956a99502957b3e74619
parent71dc2cf302e8dedb2fd80725c9bc54aaf828b1db
powerpc: Drop GPL from of_node_to_nid() export to match other arches

The generic implementation of of_node_to_nid() is EXPORT_SYMBOL, added
in commit 522385e57ba2 ("of, numa: Add NUMA of binding
implementation.").

The powerpc implementation added in commit 2c657c3f9e59 ("[PATCH]
powerpc: Allow devices to register with numa topology") is
EXPORT_SYMBOL_GPL.

This creates an inconsistency for of_node_to_nid() callers across
architectures.

Update the powerpc implementation to be exported consistently with the
generic implementation.

Signed-off-by: Shailendra Singh <shailendras@nvidia.com>
Reviewed-by: Andy Ritger <aritger@nvidia.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/numa.c