Skip to content
Commit 9e26cac5 authored by Gavin Shan's avatar Gavin Shan Committed by Will Deacon
Browse files

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: default avatarGavin Shan <gshan@redhat.com>
Link: https://lore.kernel.org/r/20220718064232.3464373-1-gshan@redhat.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 7eacf185
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment