X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-arm%2Farch-rpc%2Funcompress.h;h=845db94983bdf39deab18a4bb3e73e7e9b023409;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=4a3036dad1f279f7b3693e6a8cc3fc7ba840c064;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/include/asm-arm/arch-rpc/uncompress.h b/include/asm-arm/arch-rpc/uncompress.h index 4a3036dad..845db9498 100644 --- a/include/asm-arm/arch-rpc/uncompress.h +++ b/include/asm-arm/arch-rpc/uncompress.h @@ -56,7 +56,12 @@ static const unsigned long palette_4[16] = { #define palette_setpixel(p) *(unsigned long *)(IO_START+0x00400000) = 0x10000000|((p) & 255) #define palette_write(v) *(unsigned long *)(IO_START+0x00400000) = 0x00000000|((v) & 0x00ffffff) -static struct param_struct *params = (struct param_struct *)PARAMS_PHYS; +/* + * params_phys is a linker defined symbol - see + * arch/arm/boot/compressed/Makefile + */ +extern struct param_struct params_phys; +#define params (¶ms_phys) #ifndef STANDALONE_DEBUG /*