projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d4775b
)
arm64: compat: Move kuser32.S to .rodata section
author
Chen Zhongjin
<chenzhongjin@huawei.com>
Tue, 31 May 2022 01:53:50 +0000
(09:53 +0800)
committer
Will Deacon
<will@kernel.org>
Thu, 23 Jun 2022 15:01:42 +0000
(16:01 +0100)
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>
arch/arm64/kernel/kuser32.S
patch
|
blob
|
history
diff --git
a/arch/arm64/kernel/kuser32.S
b/arch/arm64/kernel/kuser32.S
index
42bd8c0
..
692e9d2
100644
(file)
--- 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: