RISC-V: Support nr_cpus command line option.
authorAtish Patra <atish.patra@wdc.com>
Wed, 24 Apr 2019 21:48:00 +0000 (14:48 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Fri, 17 May 2019 03:42:04 +0000 (20:42 -0700)
commit8b4302a442afffef6bb955202d27c69f1e7e2fbf
treeb6d341086bac79df7975e8d83dc083a538e65045
parentab3d26500547369c24a6c1c31725fd2841a57d0c
RISC-V: Support nr_cpus command line option.

If nr_cpus command line option is set, maximum possible cpu should be
set to that value.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/kernel/smpboot.c