aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/smp.h
diff options
context:
space:
mode:
authorGautham R. Shenoy <ego@linux.vnet.ibm.com>2020-12-10 16:08:57 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2020-12-11 00:10:25 +1100
commitfbd2b672e91d276b9fa5a729e4a823ba29fa2692 (patch)
tree7a3cdcc79b02c37da3b13584bac60bcb45ad809e /arch/powerpc/include/asm/smp.h
parentpowerpc/smp: Rename cpu_l1_cache_map as thread_group_l1_cache_map (diff)
downloadlinux-dev-fbd2b672e91d276b9fa5a729e4a823ba29fa2692.tar.xz
linux-dev-fbd2b672e91d276b9fa5a729e4a823ba29fa2692.zip
powerpc/smp: Rename init_thread_group_l1_cache_map() to make it generic
init_thread_group_l1_cache_map() initializes the per-cpu cpumask thread_group_l1_cache_map with the core-siblings which share L1 cache with the CPU. Make this function generic to the cache-property (L1 or L2) and update a suitable mask. This is a preparatory patch for the next patch where we will introduce discovery of thread-groups that share L2-cache. No functional change. Signed-off-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/1607596739-32439-4-git-send-email-ego@linux.vnet.ibm.com
Diffstat (limited to 'arch/powerpc/include/asm/smp.h')
0 files changed, 0 insertions, 0 deletions