ARM: decompressor: move headroom variable out of LC0
authorArd Biesheuvel <ardb@kernel.org>
Mon, 13 Apr 2020 16:21:31 +0000 (18:21 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 19 May 2020 14:56:10 +0000 (16:56 +0200)
commit691cbe5ba5f77f3759f3491b971a96f9998dcd9d
tree413d8aef5f4ed90e80b1bfba69af3288a1602ece
parenta780e485b5768e78aef087502499714901b68cc4
ARM: decompressor: move headroom variable out of LC0

Before breaking up LC0 into different pieces, move out the variable
that is already place-relative (given that it subtracts 'restart' in
the expression) and so its value does not need to be added to the
runtime address of the LC0 symbol itself.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Nicolas Pitre <nico@fluxnic.net>
arch/arm/boot/compressed/head.S