LoongArch: Adjust user_regset_copyin parameter to the correct offset
authorQing Zhang <zhangqing@loongson.cn>
Wed, 19 Apr 2023 04:07:27 +0000 (12:07 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Wed, 19 Apr 2023 04:07:27 +0000 (12:07 +0800)
commite32b3b8222204df8a2642a770f79ec2d7086faed
tree8c28e5e7fccb2c63be38a932a0263664b995726c
parentff9f3d7aefddbaa9a9b0f18f83e4319b5cd0e63e
LoongArch: Adjust user_regset_copyin parameter to the correct offset

Ensure that user_watch_state can be set correctly by the user.

Signed-off-by: Qing Zhang <zhangqing@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/ptrace.c