The patch titled decompress: fix new decompressor for PIC has been removed from the -mm tree. Its filename was decompress-fix-new-decompressor-for-pic.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: decompress: fix new decompressor for PIC From: Russell King <rmk@xxxxxxxxxxxxxxxx> The ARM kernel decompressor wants to be able to relocate r/w data independently from the rest of the image, and we do this by ensuring that r/w data has global visibility. Define STATIC_RW_DATA to be empty to achieve this. Signed-off-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx> Cc: Alain Knaff <alain@xxxxxxxx> Cc: <stable@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/decompress/mm.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff -puN include/linux/decompress/mm.h~decompress-fix-new-decompressor-for-pic include/linux/decompress/mm.h --- a/include/linux/decompress/mm.h~decompress-fix-new-decompressor-for-pic +++ a/include/linux/decompress/mm.h @@ -14,11 +14,21 @@ /* Code active when included from pre-boot environment: */ +/* + * Some architectures want to ensure there is no local data in their + * pre-boot environment, so that data can arbitarily relocated (via + * GOT references). This is achieved by defining STATIC_RW_DATA to + * be null. + */ +#ifndef STATIC_RW_DATA +#define STATIC_RW_DATA static +#endif + /* A trivial malloc implementation, adapted from * malloc by Hannu Savolainen 1993 and Matthias Urlichs 1994 */ -static unsigned long malloc_ptr; -static int malloc_count; +STATIC_RW_DATA unsigned long malloc_ptr; +STATIC_RW_DATA int malloc_count; static void *malloc(int size) { _ Patches currently in -mm which might be from rmk@xxxxxxxxxxxxxxxx are origin.patch arm-convert-proc-cpu-aligment-to-seq_file.patch arch-arm-include-asm-elfh-forward-declare-the-task-struct.patch arm-convert-arm-to-arch_gettimeoffset.patch bitops-rename-for_each_bit-to-for_each_set_bit-mtd.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html