X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=arch%2Fh8300%2Fboot%2Fcompressed%2Fmisc.c;h=6029c53518951a1253b498d77e1b4d963b9d36b9;hb=7ec3aa9322be5de4f5bca8c4ed5afe8b2b1ba8b8;hp=c4f2cfcb117bd6a6b9f1844c3a3313fa5e6be94a;hpb=a4dc9b22f3dbe3afd52b032c36b845a1c594527d;p=karo-tx-linux.git diff --git a/arch/h8300/boot/compressed/misc.c b/arch/h8300/boot/compressed/misc.c index c4f2cfcb117b..6029c5351895 100644 --- a/arch/h8300/boot/compressed/misc.c +++ b/arch/h8300/boot/compressed/misc.c @@ -28,7 +28,7 @@ static unsigned long free_mem_end_ptr; extern char input_data[]; extern int input_len; -static unsigned char *output; +extern char output[]; #define HEAP_SIZE 0x10000 @@ -56,15 +56,10 @@ void *memcpy(void *dest, const void *src, size_t n) static void error(char *x) { - while (1) ; /* Halt */ } -#define STACK_SIZE (4096) -long user_stack[STACK_SIZE]; -long *stack_start = &user_stack[STACK_SIZE]; - void decompress_kernel(void) { free_mem_ptr = (unsigned long)&_end;