]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
powerpc: Drop GPL from of_node_to_nid() export to match other arches
authorShailendra Singh <shailendras@nvidia.com>
Fri, 1 Sep 2017 15:53:00 +0000 (17:53 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 15 Sep 2017 12:56:10 +0000 (14:56 +0200)
commitcb034aa046b183df29149c20c0b9be92d4656190
tree933cb390e6b645ed78bfaa2f7f72e03b246bba29
parentb098f0adaf4b17cddea987f89c89514e64f11b54
powerpc: Drop GPL from of_node_to_nid() export to match other arches

BugLink: http://bugs.launchpad.net/bugs/1709179
The generic implementation of of_node_to_nid() is EXPORT_SYMBOL, added
in commit 298535c00a2c ("of, numa: Add NUMA of binding
implementation.").

The powerpc implementation added in commit 953039c8df7b ("[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>
(cherry picked from commit be9ba9ff93cc3e44dc46da9ed25655780069411a)
Signed-off-by: Joseph Salisbury <joseph.salisbury@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Colin King <colin.king@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/powerpc/mm/numa.c