]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: 9031/1: hyp-stub: remove unused .L__boot_cpu_mode_offset symbol
authorArd Biesheuvel <ardb@kernel.org>
Fri, 27 Nov 2020 12:07:22 +0000 (13:07 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Mon, 21 Dec 2020 11:19:19 +0000 (11:19 +0000)
Commit aaac3733171fca94 ("ARM: kvm: replace open coded VA->PA calculations
with adr_l call") removed all uses of .L__boot_cpu_mode_offset, so there
is no longer a need to define it.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/hyp-stub.S

index 26d8e03b1dd336daecabcdba10480ffa83801d2a..327f63ec42c6e7c03d67372ae65a6009cfbaa0f3 100644 (file)
@@ -228,12 +228,6 @@ ENTRY(__hyp_soft_restart)
        ret     lr
 ENDPROC(__hyp_soft_restart)
 
-#ifndef ZIMAGE
-.align 2
-.L__boot_cpu_mode_offset:
-       .long   __boot_cpu_mode - .
-#endif
-
 .align 5
 ENTRY(__hyp_stub_vectors)
 __hyp_stub_reset:      W(b)    .