diff options
author | Atish Patra <atish.patra@wdc.com> | 2019-02-22 11:41:37 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2019-03-04 10:40:38 -0800 |
commit | ba15c86185e9017f03b31a0699a0c09d1dc0d41c (patch) | |
tree | 16ddfbd1720f3bc7844977c035bc02021c71b9db /tools/testing/selftests/tc-testing/plugin-lib/valgrindPlugin.py | |
parent | 78d1daa36489d44ecb97b400e75639e79422de67 (diff) |
RISC-V: Remove NR_CPUs check during hartid search from DT
In non-smp configuration, hartid can be higher that NR_CPUS.
riscv_of_processor_hartid should not be compared to hartid to NR_CPUS in
that case. Moreover, this function checks all the DT properties of a
hart node. NR_CPUS comparison seems out of place.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'tools/testing/selftests/tc-testing/plugin-lib/valgrindPlugin.py')
0 files changed, 0 insertions, 0 deletions