]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
LoongArch: Adjust user_watch_state for explicit alignment
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)
commitff9f3d7aefddbaa9a9b0f18f83e4319b5cd0e63e
tree4be29bf0bfff0d2b5c7328b72eef9140fee506ad
parent93eb1215ed794a18ba8753e0654f069d58838966
LoongArch: Adjust user_watch_state for explicit alignment

This is done in order to easily calculate the number of breakpoints in
hw_break_get()/hw_break_set().

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