Commit 6dea0088 authored by Łukasz Stelmach's avatar Łukasz Stelmach Committed by Greg Kroah-Hartman

ARM: 8970/1: decompressor: increase tag size

[ Upstream commit 2c962369 ]

The size field of the tag header structure is supposed to be set to the
size of a tag structure including the header.

Fixes: c7725687 ("ARM: add additional table to compressed kernel")
Signed-off-by: default avatarŁukasz Stelmach <l.stelmach@samsung.com>
Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 98d7ca2a
......@@ -46,7 +46,7 @@ SECTIONS
}
.table : ALIGN(4) {
_table_start = .;
LONG(ZIMAGE_MAGIC(2))
LONG(ZIMAGE_MAGIC(4))
LONG(ZIMAGE_MAGIC(0x5a534c4b))
LONG(ZIMAGE_MAGIC(__piggy_size_addr - _start))
LONG(ZIMAGE_MAGIC(_kernel_bss_size))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment