summaryrefslogtreecommitdiffstats
path: root/arch/loongarch/include/asm/ptrace.h
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2023-02-25 15:52:57 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2023-02-25 22:12:17 +0800
commit9b3441a6b0e1ed4796e7f5a8586c4d6023c4e3ab (patch)
tree6797eb04b76a2228e91a75c5e83e6e7564d1e140 /arch/loongarch/include/asm/ptrace.h
parent424421a7f34c1222d20a6c279f13b9caa71ecc83 (diff)
downloadlinux-stable-9b3441a6b0e1ed4796e7f5a8586c4d6023c4e3ab.tar.gz
linux-stable-9b3441a6b0e1ed4796e7f5a8586c4d6023c4e3ab.tar.bz2
linux-stable-9b3441a6b0e1ed4796e7f5a8586c4d6023c4e3ab.zip
LoongArch: Simulate branch and PC* instructions
According to LoongArch Reference Manual, simulate branch and PC* instructions, this is preparation for later patch. Link: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#branch-instructions Link: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#_pcaddi_pcaddu121_pcaddu18l_pcalau12i Tested-by: Jeff Xie <xiehuan09@gmail.com> Co-developed-by: Jinyang He <hejinyang@loongson.cn> Signed-off-by: Jinyang He <hejinyang@loongson.cn> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/include/asm/ptrace.h')
-rw-r--r--arch/loongarch/include/asm/ptrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/loongarch/include/asm/ptrace.h b/arch/loongarch/include/asm/ptrace.h
index 6eab4393b108..d761db943335 100644
--- a/arch/loongarch/include/asm/ptrace.h
+++ b/arch/loongarch/include/asm/ptrace.h
@@ -6,6 +6,7 @@
#define _ASM_PTRACE_H
#include <asm/page.h>
+#include <asm/irqflags.h>
#include <asm/thread_info.h>
#include <uapi/asm/ptrace.h>