Re: [PATCH 2/5] RISC-V: Setup init_mm before parse_early_param()

From: Christoph Hellwig
Date: Tue Jan 15 2019 - 08:44:14 EST


On Mon, Jan 07, 2019 at 09:40:44PM +0530, Anup Patel wrote:
> From: Anup Patel <anup.patel@xxxxxxx>
>
> We should setup init_mm before doing parse_early_param()
> in setup_arch() to be consistent with setup_arch() of
> other architectures such as x86, ARM, and ARM64.
>
> Signed-off-by: Anup Patel <anup.patel@xxxxxxx>

Is there any good inherent reason why the order matters? Not that I
really care either way..