]> www.infradead.org Git - users/willy/linux.git/commit
LoongArch: Remove STACK_FRAME_NON_STANDARD(do_syscall)
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 17 Sep 2024 14:23:10 +0000 (22:23 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Tue, 17 Sep 2024 14:23:10 +0000 (22:23 +0800)
commit0eb0bd21e8382d10be8108952a0bb819915e1e2d
tree2f56a31a75f48e3caceae7e751b9739acb9aa006
parenta7e0837724562ea8c1d869dd1a5cb1119ef651c3
LoongArch: Remove STACK_FRAME_NON_STANDARD(do_syscall)

For now, we can remove STACK_FRAME_NON_STANDARD(do_syscall) because
there is no objtool warning "do_syscall+0x11c: return with modified
stack frame", then there is handle_syscall() which is the previous
frame of do_syscall() in the call trace when executing the command
"echo l > /proc/sysrq-trigger".

Fixes: a0f7085f6a63 ("LoongArch: Add RANDOMIZE_KSTACK_OFFSET support")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/syscall.c