diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-08-06 12:32:33 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2020-09-15 16:36:26 +0300 |
commit | adc5f7029376049873289be305d507022281b8dd (patch) | |
tree | 9f9459bd32b6e3fbf98e25c91da03795862a3a0f /arch/arm/boot/compressed/head.S | |
parent | 83dfeedb6663ea8cdf93f41191ef313de5b7a2ba (diff) | |
download | linux-adc5f7029376049873289be305d507022281b8dd.tar.xz |
ARM: add malloc size to decompressor kexec size structure
Add the required malloc size to the decompressor kexec size structure.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/boot/compressed/head.S')
-rw-r--r-- | arch/arm/boot/compressed/head.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S index 84a6d828e6d6..2e04ec5b5446 100644 --- a/arch/arm/boot/compressed/head.S +++ b/arch/arm/boot/compressed/head.S @@ -298,7 +298,7 @@ restart: adr r0, LC1 #ifndef CONFIG_ZBOOT_ROM /* malloc space is above the relocated stack (64k max) */ - add r10, sp, #0x10000 + add r10, sp, #MALLOC_SIZE #else /* * With ZBOOT_ROM the bss/stack is non relocatable, @@ -610,7 +610,7 @@ not_relocated: mov r0, #0 */ mov r0, r4 mov r1, sp @ malloc space above stack - add r2, sp, #0x10000 @ 64k max + add r2, sp, #MALLOC_SIZE @ 64k max mov r3, r7 bl decompress_kernel |