commit | ab3d26500547369c24a6c1c31725fd2841a57d0c | [log] [tgz] |
---|---|---|
author | Atish Patra <atish.patra@wdc.com> | Wed Apr 24 14:47:59 2019 -0700 |
committer | Palmer Dabbelt <palmer@sifive.com> | Tue Apr 30 09:47:45 2019 -0700 |
tree | 1e23b51e00a4fabd4fde9a821b47ab7a7a02120a | |
parent | 70114560b2855853126c65cccdc49a33187327d0 [diff] |
RISC-V: Implement nosmp commandline option. nosmp command line option sets max_cpus to zero. No secondary harts will boot if this is enabled. But present cpu mask will still point to all possible masks. Fix present cpu mask for nosmp usecase. Signed-off-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>