x86/realmode: Use .init.rodata for embedded real-mode data
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.
Signed-off-by Thorsten Blum <[email protected]>
--- arch/x86/realmode/rmpiggy.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/realmode/rmpiggy.S +1 -1
@@ -6,7 +6,7 @@ #include <linux/linkage.h> #include <asm/page_types.h> - .section ".init.data","aw" + .section ".init.rodata","a" .balign PAGE_SIZE
Quoted 6 lines · Thorsten Blum
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 <[email protected]>
Reviewed-by H. Peter Anvin (RosaicLabs) <[email protected]>