]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/cacheinfo: Make cpumap_show code reusable
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Mon, 29 Jun 2020 10:37:02 +0000 (16:07 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 15 Jul 2020 01:07:20 +0000 (11:07 +1000)
commit3aa1ac55e79578dc0e9e1635f326f6b0b561dc75
tree2fcdef4e11d56d41183c0b3ad7b4848c0cd96137
parentadbb5c83fea2da9fe86efbd219eca07879e0b4c8
powerpc/cacheinfo: Make cpumap_show code reusable

In anticipation of implementing shared_cpu_list, move code under
shared_cpu_map_show() to a common function.

No functional changes.

Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200629103703.4538-3-srikar@linux.vnet.ibm.com
arch/powerpc/kernel/cacheinfo.c