linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: hyp-stub: remove unused .L__boot_cpu_mode_offset symbol
@ 2020-11-18  8:19 Ard Biesheuvel
  2020-11-23 14:34 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Ard Biesheuvel @ 2020-11-18  8:19 UTC (permalink / raw)
  To: linux; +Cc: linus.walleij, Ard Biesheuvel, linux-arm-kernel

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>
---
 arch/arm/kernel/hyp-stub.S | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/arm/kernel/hyp-stub.S b/arch/arm/kernel/hyp-stub.S
index 103d0bdb2b7e..b699b22a4db1 100644
--- a/arch/arm/kernel/hyp-stub.S
+++ b/arch/arm/kernel/hyp-stub.S
@@ -225,12 +225,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)	.
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: hyp-stub: remove unused .L__boot_cpu_mode_offset symbol
  2020-11-18  8:19 [PATCH] ARM: hyp-stub: remove unused .L__boot_cpu_mode_offset symbol Ard Biesheuvel
@ 2020-11-23 14:34 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2020-11-23 14:34 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: Russell King, Linux ARM

On Wed, Nov 18, 2020 at 9:19 AM Ard Biesheuvel <ardb@kernel.org> wrote:

> 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>

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-23 14:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-18  8:19 [PATCH] ARM: hyp-stub: remove unused .L__boot_cpu_mode_offset symbol Ard Biesheuvel
2020-11-23 14:34 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).