]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Remove call to memblock_add()
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Wed, 29 Jun 2016 17:20:30 +0000 (12:20 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 15 Jul 2016 10:18:37 +0000 (20:18 +1000)
commit1c6f3cc0c627010486dfd1e237dc1d2d4479e2b2
treeb16d6cde3488f43bfe9409c5b0e40cb9a43cbd75
parent47acfcda0aa586827d2632b96e9ec6fb56c80126
powerpc/pseries: Remove call to memblock_add()

The call to memblock_add is not needed, this is already done by
memory_add(). This patch removes this call which shrinks
dlpar_add_lmb_memory() enough that it can be merged into dlpar_add_lmb().

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