[ARM] pxa: fix for variables in uncompress.h being discarded
authorJonathan Cameron <arm@jic23.retrosnub.co.uk>
Mon, 8 Mar 2010 17:44:19 +0000 (17:44 +0000)
committerEric Miao <eric.y.miao@gmail.com>
Mon, 22 Mar 2010 04:03:04 +0000 (12:03 +0800)
commit2a8ac187e03027a958b289dd8701ca9c013ab096
treebf9a4bbed0576f9c6ee3c32edeedf332d6df50ab
parent220bf991b0366cc50a94feede3d7341fa5710ee4
[ARM] pxa: fix for variables in uncompress.h being discarded

Due to commit:

    5de813b  ARM: Eliminate decompressor -Dstatic= PIC hack

The data section will be discarded for the decompressor, thus move the
static variables into BSS section by initializing them at run time.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/include/mach/uncompress.h