aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGavin Shan <gshan@redhat.com>2022-07-18 14:42:32 +0800
committerWill Deacon <will@kernel.org>2022-07-19 19:10:28 +0100
commit9e26cac5f82b2cce43d98ffd8382ebd858fae7e8 (patch)
tree1524926b04aec9b541da81d36b127653ec274b27 /tools/perf/scripts/python
parent7eacf1858bc86fe93b457c529a3a40e8b94d5af1 (diff)
arm64: numa: Don't check node against MAX_NUMNODES
When the NUMA nodes are sorted by checking ACPI SRAT (GICC AFFINITY) sub-table, it's impossible for acpi_map_pxm_to_node() to return any value, which is greater than or equal to MAX_NUMNODES. Lets drop the unnecessary check in acpi_numa_gicc_affinity_init(). No functional change intended. Signed-off-by: Gavin Shan <gshan@redhat.com> Link: https://lore.kernel.org/r/20220718064232.3464373-1-gshan@redhat.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions