]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/mm: Fix section mismatch for read_n_cells
authorDavid Rientjes <rientjes@google.com>
Thu, 8 Dec 2011 12:46:37 +0000 (12:46 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 19 Dec 2011 03:41:18 +0000 (14:41 +1100)
commit2011b1d0d31ae469c7a075061e03b7d4f5b49ba6
treec96f73a8dafe4c298842bb6896073841c2520cbe
parent28e86bdbc9863d3d81711db02abedbc54528099e
powerpc/mm: Fix section mismatch for read_n_cells

read_n_cells() cannot be marked as .devinit.text since it is referenced
from two functions that are not in that section: of_get_lmb_size() and
hot_add_drconf_scn_to_nid().

Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/numa.c