Remove arch dependent setjump/longjump functions
and unused fields in kprobe_ctlblk for jprobes
from arch/arc.
Signed-off-by: Masami Hiramatsu
Cc: Vineet Gupta
Cc: linux-snps-arc@lists.infradead.org
---
arch/arc/include/asm/kprobes.h |2 --
arch/arc/kernel/kprobes.c | 38 ++--
Don't call the ->break_handler() from the ARC kprobes code,
because it was only used by jprobes which got removed.
Signed-off-by: Masami Hiramatsu
Cc: Vineet Gupta
Cc: linux-snps-arc@lists.infradead.org
---
arch/arc/kernel/kprobes.c |7 ---
1 file changed, 7 deletions(-)
diff --git a/a
Clear current_kprobe and enable preemption in kprobe
even if pre_handler returns !0.
This simplifies function override using kprobes.
Jprobe used to require to keep the preemption disabled and
keep current_kprobe until it returned to original function
entry. For this reason kprobe_int3_handler()