On Wed, Apr 24, 2019 at 02:47:59PM -0700, Atish Patra wrote: > 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.pa...@wdc.com> > Reviewed-by: Christoph Hellwig <h...@lst.de>
I just noticed RISC-V has CONFIG_SMP option configurable. ARM64 has it always on and no option to disable :) Anyways, this looks good. Reviewed-by: Sudeep Holla <sudeep.ho...@arm.com> -- Regards, Sudeep