All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/realmode: Use .init.rodata for embedded real-mode data
@ 2026-11-05 19:48 Thorsten Blum
  2026-11-05 20:04 ` H. Peter Anvin
  0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Blum @ 2026-11-05 19:48 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, x86,
	H. Peter Anvin
  Cc: Thorsten Blum, linux-kernel

The embedded real-mode blob and relocation table are only read during
init. Use .init.rodata for both objects to reflect this.

No functional change.

Signed-off-by: Thorsten Blum <blum@kernel.org>
---
 arch/x86/realmode/rmpiggy.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/realmode/rmpiggy.S b/arch/x86/realmode/rmpiggy.S
index ce5350241238..0c6289aa039e 100644
--- a/arch/x86/realmode/rmpiggy.S
+++ b/arch/x86/realmode/rmpiggy.S
@@ -6,7 +6,7 @@
 #include <linux/linkage.h>
 #include <asm/page_types.h>
 
-	.section ".init.data","aw"
+	.section ".init.rodata","a"
 
 	.balign PAGE_SIZE
 

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

end of thread, other threads:[~2026-11-05 20:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-05 19:48 [PATCH] x86/realmode: Use .init.rodata for embedded real-mode data Thorsten Blum
2026-11-05 20:04 ` H. Peter Anvin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.