summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2022-04-01 10:19:11 +0300
committerHelge Deller <deller@gmx.de>2022-05-08 21:01:11 +0300
commit0921244f6f4f0d05698b953fe632a99b38907226 (patch)
tree35716da87bd2724404d080bbaba152ee0b4352b6 /tools/perf/scripts/python/mem-phys-addr.py
parent6c800d7f55fcd78e17deae5ae4374d8e73482c13 (diff)
downloadlinux-0921244f6f4f0d05698b953fe632a99b38907226.tar.xz
parisc: Only list existing CPUs in cpu_possible_mask
The inventory knows which CPUs are in the system, so this bitmask should be in cpu_possible_mask instead of the bitmask based on CONFIG_NR_CPUS. Reset the cpu_possible_mask before scanning the system for CPUs, and mark each existing CPU as possible during initialization of that CPU. This avoids those warnings later on too: register_cpu_capacity_sysctl: too early to get CPU4 device! Signed-off-by: Helge Deller <deller@gmx.de> Noticed-by: John David Anglin <dave.anglin@bell.net>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions