Skip to content

Commit

Permalink
ARM: Add final piece to fix XIP decompressor in read-only memory
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King committed Mar 15, 2010
1 parent 2d3b5fa commit b89ebad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/compressed/decompress.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b89ebad

Please sign in to comment.