diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-03-15 14:29:22 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-03-15 14:29:22 +0000 |
commit | b89ebadc3421f8ff85030768ec14144794984877 (patch) | |
tree | a26043c0e42bc059a4b7455c12bf4161817f9760 /arch/arm/boot/compressed | |
parent | 2d3b5fa3a39d16c880bda3cf2bd9dd6ed5a01f74 (diff) | |
download | linux-3.10-b89ebadc3421f8ff85030768ec14144794984877.tar.gz linux-3.10-b89ebadc3421f8ff85030768ec14144794984877.tar.bz2 linux-3.10-b89ebadc3421f8ff85030768ec14144794984877.zip |
ARM: Add final piece to fix XIP decompressor in read-only memory
This defines STATIC_RW_DATA, which prevents the read/write malloc
management data being declared with a static attribute.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/boot/compressed')
-rw-r--r-- | arch/arm/boot/compressed/decompress.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/compressed/decompress.c b/arch/arm/boot/compressed/decompress.c index 0da382f3315..9c097073ce4 100644 --- a/arch/arm/boot/compressed/decompress.c +++ b/arch/arm/boot/compressed/decompress.c @@ -11,6 +11,7 @@ extern unsigned long free_mem_end_ptr; extern void error(char *); #define STATIC static +#define STATIC_RW_DATA /* non-static please */ #define ARCH_HAS_DECOMP_WDOG |