[PATCH] x86/realmode: Use .init.rodata for embedded real-mode data

From: Thorsten Blum

Date: Thu Nov 05 2026 - 15:12:37 EST


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