projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIPS: fix uretprobe implementation
[cascardo/linux.git]
/
arch
/
mips
/
kernel
/
uprobes.c
diff --git
a/arch/mips/kernel/uprobes.c
b/arch/mips/kernel/uprobes.c
index
1149b30
..
cd8a689
100644
(file)
--- a/
arch/mips/kernel/uprobes.c
+++ b/
arch/mips/kernel/uprobes.c
@@
-257,7
+257,7
@@
unsigned long arch_uretprobe_hijack_return_addr(
ra = regs->regs[31];
/* Replace the return address with the trampoline address */
- regs->regs[31] =
ra
;
+ regs->regs[31] =
trampoline_vaddr
;
return ra;
}