]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/numa: Look up device node in of_get_usable_memory()
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Fri, 1 Dec 2017 16:46:44 +0000 (10:46 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 16 Jan 2018 07:23:48 +0000 (18:23 +1100)
commit22508f3dc985f6ed948293297f728605075fe6a7
treedaf20d36af95534d48d7deb352371672f75beca9
parent35f80debaef07bdaeffbbb20a6e999d8ac47972c
powerpc/numa: Look up device node in of_get_usable_memory()

Look up the device node for the usable memory property instead
of having it passed in as a parameter. This changes precedes an update
in which the calling routines for of_get_usable_memory() will not have
the device node pointer to pass in.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/numa.c