summaryrefslogtreecommitdiffstats
path: root/arch/h8300/boot/compressed/misc.c
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2015-05-31 16:42:37 +0200
committerYoshinori Sato <ysato@users.sourceforge.jp>2015-11-08 14:44:39 +0100
commit78f02cac9515127efd7dc45e82bbbdb969b3302a (patch)
tree0417d911b99883d9d2770c42bf06e4e1b0c5d8e3 /arch/h8300/boot/compressed/misc.c
parenth8300: register address fix (diff)
downloadlinux-78f02cac9515127efd7dc45e82bbbdb969b3302a.tar.xz
linux-78f02cac9515127efd7dc45e82bbbdb969b3302a.zip
h8300: zImage fix
- stack fix - configure base address Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Diffstat (limited to 'arch/h8300/boot/compressed/misc.c')
-rw-r--r--arch/h8300/boot/compressed/misc.c7
1 files changed, 1 insertions, 6 deletions
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;