]> git.baikalelectronics.ru Git - kernel.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)
commitccb2c3b1d8d3e8cdbd04ab7e0e657c7efe594154
treec96f73a8dafe4c298842bb6896073841c2520cbe
parentf2e03110e9d184a239d6a2b93caceac021097c88
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