powerpc/vphn: Fix numa update end-loop bug
authorMichael Bringmann <mwb@linux.vnet.ibm.com>
Fri, 8 Sep 2017 20:47:56 +0000 (15:47 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 16 Oct 2017 12:12:05 +0000 (23:12 +1100)
commit6ec21db24d52b18fabc1fa4bdf4fa0e49f4d917f
treea4463bc58d0d2dad99e9dce57d1c02bca39094e4
parentf3c4c80ca57756b2a1c92ebaa81d37d3d560ff93
powerpc/vphn: Fix numa update end-loop bug

powerpc/vphn: On Power systems with shared configurations of CPUs
and memory, there are some issues with the association of additional
CPUs and memory to nodes when hot-adding resources.  This patch
fixes an end-of-updates processing problem observed occasionally
in numa_update_cpu_topology().

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