Re: [PATCH 2/4] RISC-V: Implement nosmp commandline option.
From: Sudeep Holla
Date: Thu Apr 25 2019 - 05:41:57 EST
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.patra@xxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
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.holla@xxxxxxx>
--
Regards,
Sudeep