]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2990253406194cac62d3358ce787903dde13da7e
tree4453815cc058c35dfc488a2cae6d7cafb0c82192
parentb2d8e604a04df74a29f0b64969a02d0bfcc56750
MIPS: Make local arrays with CL_SIZE static __initdata

Since commit ad8ca7c0f1ab1a4bf0d930e32c7130542e4c5966 ("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>
arch/mips/bcm47xx/prom.c
arch/mips/mti-malta/malta-memory.c
arch/mips/rb532/prom.c
arch/mips/txx9/generic/setup.c