LoongArch: Fix CMDLINE_EXTEND and CMDLINE_BOOTLOADER handling
authorZhihong Dong <donmor3000@hotmail.com>
Fri, 28 Jul 2023 02:30:42 +0000 (10:30 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Fri, 28 Jul 2023 02:30:42 +0000 (10:30 +0800)
commit83da30d73b86ab5898fb84f8b49c11557c3fcc67
treeca4e11a74646cd844be4a735c307b6daaf96f249
parent03c53eb90c0c61885b2175adf8675fb56df7f8db
LoongArch: Fix CMDLINE_EXTEND and CMDLINE_BOOTLOADER handling

On FDT systems these command line processing are already taken care of
by early_init_dt_scan_chosen(). Add similar handling to the ACPI (non-
FDT) code path to allow these config options to work for ACPI (non-FDT)
systems too.

Signed-off-by: Zhihong Dong <donmor3000@hotmail.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/setup.c