diff options
author | Thomas Tai <thomas.tai@oracle.com> | 2016-11-11 16:41:00 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-12-10 19:07:25 +0100 |
commit | 899b60535a2af978cdd798932f688b887decf424 (patch) | |
tree | 795bbe9ba4dccb222685192643496c83baefa172 /include | |
parent | ed7b60db00a17a3bc4705014ebec4c035577b9e5 (diff) |
sparc64: fix compile warning section mismatch in find_node()
[ Upstream commit 87a349f9cc0908bc0cfac0c9ece3179f650ae95a ]
A compile warning is introduced by a commit to fix the find_node().
This patch fix the compile warning by moving find_node() into __init
section. Because find_node() is only used by memblock_nid_range() which
is only used by a __init add_node_ranges(). find_node() and
memblock_nid_range() should also be inside __init section.
Signed-off-by: Thomas Tai <thomas.tai@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions