]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/numa: use cached value of update->cpu in update_cpu_topology
authorNishanth Aravamudan <nacc@linux.vnet.ibm.com>
Sat, 18 Oct 2014 00:49:44 +0000 (17:49 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 28 Oct 2014 22:41:22 +0000 (09:41 +1100)
commit16ceac7ae6a9e689fbc854b687593e11b8d1437d
tree6482de1589aa36f129d1c7031f5c833b8a2d092e
parent895623ec95b12284cbfda3f5adea3a2e3c5e9182
powerpc/numa: use cached value of update->cpu in update_cpu_topology

There isn't any need to keep referring to update->cpu, as we've already
checked cpu == update->cpu at this point.

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