diff options
author | Chen Zhongjin <chenzhongjin@huawei.com> | 2022-05-31 09:53:50 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-06-23 16:01:42 +0100 |
commit | 2d304afaedc4e8f2587188cfa5b78fc0dbd81840 (patch) | |
tree | 974ad37ebbd41c40ee82d9cd74f2cd4324d3c741 | |
parent | 9d4775b332e16a37413d189060553ef9b4378679 (diff) | |
download | linux-2d304afaedc4e8f2587188cfa5b78fc0dbd81840.tar.bz2 |
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 <chenzhongjin@huawei.com>
Link: https://lore.kernel.org/r/20220531015350.233827-1-chenzhongjin@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
-rw-r--r-- | arch/arm64/kernel/kuser32.S | 1 |
1 files changed, 1 insertions, 0 deletions
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: |