Message ID | 20220531015350.233827-1-chenzhongjin@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | arm64: compat: Move kuser32.S to .rodata section | expand |
On Tue, 31 May 2022 09:53:50 +0800, Chen Zhongjin wrote: > Kuser code should be inside .rodata. > > Now code in kuser32.S is inside .text section and never executed. > Move it to .rodata. > > Applied to arm64 (for-next/vdso), thanks! [1/1] arm64: compat: Move kuser32.S to .rodata section https://git.kernel.org/arm64/c/2d304afaedc4 Cheers,
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 <asm/unistd.h> + .section .rodata .align 5 .globl __kuser_helper_start __kuser_helper_start:
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 <chenzhongjin@huawei.com> --- arch/arm64/kernel/kuser32.S | 1 + 1 file changed, 1 insertion(+)