]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: arc: use function argument for passing argc/argv to prom_init_cmdline
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Tue, 22 Oct 2019 16:13:14 +0000 (18:13 +0200)
committerPaul Burton <paulburton@kernel.org>
Thu, 24 Oct 2019 04:10:34 +0000 (21:10 -0700)
commitef4cc0ce60538ab04f6911a8e885251367ac4070
treedb297783cf078634edae29f1de4660b4676e1f40
parent98b9db4f76cc83dba01e65f6301ebe21b6f19520
MIPS: arc: use function argument for passing argc/argv to prom_init_cmdline

prom_argc and prom_argv are only used by prom_init_cmdline(), so
we could pass them directly as function argument.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
arch/mips/fw/arc/cmdline.c
arch/mips/fw/arc/init.c
arch/mips/include/asm/sgialib.h