]> 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)
commit35a69db035b20513ceab7afc18d706c7b8daa738
treedaf20d36af95534d48d7deb352371672f75beca9
parent8255fb566c12380a91b30819dbaf8f5d6732b3e1
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