projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'v5.7-rc7' into perf/core, to pick up fixes
[linux-2.6-microblaze.git]
/
arch
/
csky
/
kernel
/
probes
/
uprobes.c
diff --git
a/arch/csky/kernel/probes/uprobes.c
b/arch/csky/kernel/probes/uprobes.c
index
b3a56c2
..
1a9e096
100644
(file)
--- a/
arch/csky/kernel/probes/uprobes.c
+++ b/
arch/csky/kernel/probes/uprobes.c
@@
-11,6
+11,11
@@
#define UPROBE_TRAP_NR UINT_MAX
+bool is_swbp_insn(uprobe_opcode_t *insn)
+{
+ return (*insn & 0xffff) == UPROBE_SWBP_INSN;
+}
+
unsigned long uprobe_get_swbp_addr(struct pt_regs *regs)
{
return instruction_pointer(regs);