mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] efi/libstub/arm64: Enable __efistub_global define in .data section
@ 2020-04-09 21:44 Victor Erminpour
  2020-04-10  8:09 ` Ard Biesheuvel
  0 siblings, 1 reply; 7+ messages in thread
From: Victor Erminpour @ 2020-04-09 21:44 UTC (permalink / raw)
  To: ardb; +Cc: linux-efi, linux-kernel, victor.erminpour

Enable the __efistub_global define to place variables in the
.data section for both CONFIG_ARM and CONFIG_ARM64.

This places the EFIstub sys_table variable and other EFIstub
static variables in the .data section for both CONFIG_ARM and
CONFIG_ARM64.

Signed-off-by: Victor Erminpour <victor.erminpour@oracle.com>
---
 drivers/firmware/efi/libstub/efistub.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/efi/libstub/efistub.h b/drivers/firmware/efi/libstub/efistub.h
index c244b16..59932d6 100644
--- a/drivers/firmware/efi/libstub/efistub.h
+++ b/drivers/firmware/efi/libstub/efistub.h
@@ -25,7 +25,7 @@
 #define EFI_ALLOC_ALIGN		EFI_PAGE_SIZE
 #endif
 
-#ifdef CONFIG_ARM
+#if defined(CONFIG_ARM) || defined(CONFIG_ARM64)
 #define __efistub_global	__section(.data)
 #else
 #define __efistub_global

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

end of thread, other threads:[~2020-04-14  6:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-09 21:44 [PATCH] efi/libstub/arm64: Enable __efistub_global define in .data section Victor Erminpour
2020-04-10  8:09 ` Ard Biesheuvel
2020-04-10 22:12   ` Victor Erminpour
2020-04-11  6:39     ` Ard Biesheuvel
2020-04-13 13:46       ` Arvind Sankar
2020-04-13 22:56       ` Victor Erminpour
2020-04-14  6:46         ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®