ARM: 6263/1: ns9xxx: fix FTBFS for zImage
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 23 Jul 2010 09:46:52 +0000 (10:46 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 26 Jul 2010 09:33:07 +0000 (10:33 +0100)
commit51aa87beb9dff42ccc3612811e83d1ad98141e0b
tree0c0fe41517d37b984fc2e71b6b7218702f32b0c2
parent73bcc76aeee6afb21471ad9ec33341c7452b4d6f
ARM: 6263/1: ns9xxx: fix FTBFS for zImage

the different putc variants used an initialized local static variable
which is broken since

5de813b (ARM: Eliminate decompressor -Dstatic= PIC hack)

This needs to be initialized at runtime and so needs to be global.
While at it give it a better name.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ns9xxx/include/mach/uncompress.h