Skip to contentSkip to conversation

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

PATCH In review Thorsten Blum 2 participants 2 messages Nov 5 x86

lore
Share & tools
lore
#0 lore raw

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

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.

---
 arch/x86/realmode/rmpiggy.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/realmode/rmpiggy.S +1 -1
index ce5350241238..0c6289aa039e 100644
@@ -6,7 +6,7 @@
 #include <linux/linkage.h>
 #include <asm/page_types.h>
 
-	.section ".init.data","aw"
+	.section ".init.rodata","a"
 
 	.balign PAGE_SIZE