]> 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)
commit0290c0b567e5c772f3b82f15007c1ab3609cb20d
treedaf20d36af95534d48d7deb352371672f75beca9
parent7f93ef36fa93bfd66aa7044870dc7b3adf2e6818
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