summaryrefslogtreecommitdiffstats
path: root/arch/csky/kernel/entry.S
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2020-04-02 13:52:27 +0200
committerGuo Ren <guoren@linux.alibaba.com>2020-04-03 05:37:51 +0200
commit8f6bb793b2be82f1f73bfb416486f156f70b4314 (patch)
tree783eef0d08ebaa652b335db205f99e970d4a2c0d /arch/csky/kernel/entry.S
parentcsky: Add kprobes supported (diff)
downloadlinux-8f6bb793b2be82f1f73bfb416486f156f70b4314.tar.xz
linux-8f6bb793b2be82f1f73bfb416486f156f70b4314.zip
csky: Add uprobes support
This patch adds support for uprobes on csky architecture. Just like kprobe, it support single-step and simulate instructions. Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'arch/csky/kernel/entry.S')
-rw-r--r--arch/csky/kernel/entry.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/csky/kernel/entry.S b/arch/csky/kernel/entry.S
index 8b040a1b11d0..364819536f2e 100644
--- a/arch/csky/kernel/entry.S
+++ b/arch/csky/kernel/entry.S
@@ -221,7 +221,7 @@ ret_from_exception:
andn r9, r10
ldw r12, (r9, TINFO_FLAGS)
- andi r12, (_TIF_SIGPENDING | _TIF_NOTIFY_RESUME | _TIF_NEED_RESCHED)
+ andi r12, (_TIF_SIGPENDING | _TIF_NOTIFY_RESUME | _TIF_NEED_RESCHED | _TIF_UPROBE)
cmpnei r12, 0
bt exit_work
1: