summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/powerpc-hcalls.py
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2024-02-14 16:14:04 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2024-02-14 16:14:04 +0300
commit5580e96dad5a439d561d9648ffcbccb739c2a120 (patch)
tree1ab772d3d180fe868ad7844f5f8a1898cc4aed8d /tools/perf/scripts/python/powerpc-hcalls.py
parent41bccc98fb7931d63d03f326a746ac4d429c1dd3 (diff)
downloadlinux-5580e96dad5a439d561d9648ffcbccb739c2a120.tar.xz
powerpc/smp: Adjust nr_cpu_ids to cover all threads of a core
If nr_cpu_ids is too low to include at least all the threads of a single core adjust nr_cpu_ids upwards. This avoids triggering odd bugs in code that assumes all threads of a core are available. Cc: stable@vger.kernel.org Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20231229120107.2281153-1-mpe@ellerman.id.au
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions