Atish Patra ba15c86185
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>
2019-03-04 10:40:38 -08:00
..
2017-09-26 15:26:49 -07:00
2018-12-21 08:10:49 -08:00
2018-10-22 17:03:37 -07:00
2018-10-22 17:02:23 -07:00
2018-12-21 08:10:49 -08:00
2018-10-22 17:02:23 -07:00
2019-01-07 08:22:43 -08:00
2017-09-26 15:26:44 -07:00
2018-12-21 08:11:08 -08:00
2018-01-30 19:12:06 -08:00