linux_dsm_epyc7002/arch/riscv
Michael Clark 3e076a7e04
RISC-V: Remove duplicate command-line parsing logic
builtin_cmdline handling is present in drivers/of/fdt.c so the
duplicate logic in arch/riscv/setup.c results in duplication of
the builtin command line. e.g. CONFIG_CMDLINE="root=/dev/vda ro"
gets appended twice and gives "root=/dev/vda ro root=/dev/vda ro"

Before this patch:

[    0.000000] Kernel command line: root=/dev/vda ro root=/dev/vda ro

After this patch:

[    0.000000] Kernel command line: root=/dev/vda ro

Signed-off-by: Michael Clark <mjc@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2018-01-30 19:09:52 -08:00
..
configs RISC-V: Add a basic defconfig 2018-01-07 15:14:36 -08:00
include riscv: rename SR_* constants to match the spec 2018-01-07 15:14:39 -08:00
kernel RISC-V: Remove duplicate command-line parsing logic 2018-01-30 19:09:52 -08:00
lib RISC-V: Export some expected symbols for modules 2017-11-30 10:01:10 -08:00
mm riscv: rename SR_* constants to match the spec 2018-01-07 15:14:39 -08:00
Kconfig RISC-V: Build Infrastructure 2017-09-26 15:26:49 -07:00
Makefile RISC-V: Build Infrastructure 2017-09-26 15:26:49 -07:00