lib/decompress_bunzip2.c: fix checkstack warning
authorPrarit Bhargava <prarit@redhat.com>
Wed, 11 Aug 2010 01:03:40 +0000 (18:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Aug 2010 15:59:23 +0000 (08:59 -0700)
commitdd21e9bdff14a9882f2c485fe533c6ce64ea2675
tree3731ef6f08fbc98e49a36372e4b73e4c8ab8de27
parent5bf2b19320ec31d094d7370fdf536f7fd91fd799
lib/decompress_bunzip2.c: fix checkstack warning

Fix checkstack error:

lib/decompress_bunzip2.c: In function `get_next_block':
lib/decompress_bunzip2.c:511: warning: the frame size of 1932 bytes is larger than 1024 bytes

byteCount, symToByte, and mtfSymbol cannot be declared static or allocated
dynamically so place them in the bunzip_data struct.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Cc: Phillip Lougher <phillip@lougher.demon.co.uk>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/decompress_bunzip2.c