MIPS: Make local arrays with CL_SIZE static __initdata
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sat, 7 Nov 2009 17:20:37 +0000 (02:20 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 Nov 2009 17:10:37 +0000 (18:10 +0100)
Since commit 22242681cff52bfb7cba5d2a37b91802be7a4e4c ("MIPS: Extend
COMMAND_LINE_SIZE"), CL_SIZE is 4096 and local array variables with this
size will cause an build failure with default CONFIG_FRAME_WARN settings.

Although current users of such array variables are all early bootstrap
code and not likely to cause real stack overflow (thread_info corruption),
it is preferable to  to declare these arrays static with __initdata.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

No differences found