From: Chen Zhongjin Date: Tue, 31 May 2022 01:53:50 +0000 (+0800) Subject: arm64: compat: Move kuser32.S to .rodata section X-Git-Tag: for-5.20/block-2022-08-04~162^2~3^2~5 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=2d304afaedc4e8f2587188cfa5b78fc0dbd81840;p=linux-block.git arm64: compat: Move kuser32.S to .rodata section Kuser code should be inside .rodata. Now code in kuser32.S is inside .text section and never executed. Move it to .rodata. Signed-off-by: Chen Zhongjin Link: https://lore.kernel.org/r/20220531015350.233827-1-chenzhongjin@huawei.com Signed-off-by: Will Deacon --- diff --git a/arch/arm64/kernel/kuser32.S b/arch/arm64/kernel/kuser32.S index 42bd8c0c60e0..692e9d2e31e5 100644 --- a/arch/arm64/kernel/kuser32.S +++ b/arch/arm64/kernel/kuser32.S @@ -15,6 +15,7 @@ #include + .section .rodata .align 5 .globl __kuser_helper_start __kuser_helper_start: