[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171220163616.GH28538@linux-mips.org>
Date: Wed, 20 Dec 2017 17:36:16 +0100
From: Ralf Baechle <ralf@...ux-mips.org>
To: Jiaxun Yang <jiaxun.yang@...goat.com>
Cc: James Hogan <jhogan@...nel.org>, linux-mips@...ux-mips.org,
Huacai Chan <chenhc@...ote.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 1/5] MIPS: Lonngson64: Copy kernel command line from
arcs_cmdline
On Sat, Dec 16, 2017 at 10:57:47PM +0800, Jiaxun Yang wrote:
> Since lemote-2f/marchtype.c need to get cmdline from loongson.h
> this patch simply copy kernel command line from arcs_cmdline
> to fix that issue
Sorry, I don't quite understand.
Is the issue that arcs_cmdline[] is declared as __initdata in
arch/mips/kernel/setup.c?
Note that it's ok to use arcs_cmdline on a non-ARCS machine. ARC systems
were the first systems supported by Linux/MIPS, that's how the variable
got its name; the name was just never properly cleaned up but probably
should.
Ralf
Powered by blists - more mailing lists