X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fsh%2Fboot%2Fcompressed%2Fmisc.c;h=df65e305acf78b14710efa0ddc32998207fc9fbb;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=f2fed5ce5cc315b0dac14a1ffa6f568a77d6b950;hpb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;p=linux-2.6.git diff --git a/arch/sh/boot/compressed/misc.c b/arch/sh/boot/compressed/misc.c index f2fed5ce5..df65e305a 100644 --- a/arch/sh/boot/compressed/misc.c +++ b/arch/sh/boot/compressed/misc.c @@ -12,6 +12,8 @@ */ #include +#include +#include #ifdef CONFIG_SH_STANDARD_BIOS #include #endif @@ -228,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;