summaryrefslogtreecommitdiff
path: root/arch/h8300/boot/compressed/misc.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2015-11-25 21:56:40 +0300
committerTony Lindgren <tony@atomide.com>2015-11-25 21:56:40 +0300
commit970259bff472579204108c6f27036ec4d1206ae1 (patch)
tree869bdcda9aac4c67712d93e6141056fdf3f41bd8 /arch/h8300/boot/compressed/misc.c
parent9b1b61cd8e31d9beba871333d7a798b3adb89288 (diff)
parent29f5b34ca1a191c2cf4f6c8c12f4dec56e8d3bc1 (diff)
downloadlinux-970259bff472579204108c6f27036ec4d1206ae1.tar.xz
Merge branch '81xx' into omap-for-v4.4/fixes
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;