X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=arch%2Fsh%2Fboot%2Fcompressed%2Fmisc.c;fp=arch%2Fsh%2Fboot%2Fcompressed%2Fmisc.c;h=df65e305acf78b14710efa0ddc32998207fc9fbb;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=211e9110074f9cc2d4e15753c52a05d10f3860d6;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/arch/sh/boot/compressed/misc.c b/arch/sh/boot/compressed/misc.c index 211e91100..df65e305a 100644 --- a/arch/sh/boot/compressed/misc.c +++ b/arch/sh/boot/compressed/misc.c @@ -11,8 +11,9 @@ * Modified to use standard LinuxSH BIOS by Greg Banks 7Jul2000 */ -#include #include +#include +#include #ifdef CONFIG_SH_STANDARD_BIOS #include #endif @@ -229,7 +230,7 @@ long* stack_start = &user_stack[STACK_SIZE]; void decompress_kernel(void) { output_data = 0; - output_ptr = (unsigned long)&_text+0x20001000; + output_ptr = P2SEGADDR((unsigned long)&_text+PAGE_SIZE); free_mem_ptr = (unsigned long)&_end; free_mem_end_ptr = free_mem_ptr + HEAP_SIZE;