Thread (9 messages) flat view 9 messages, 3 authors, 2017-03-08

Re: [PATCH v3 2/2] powerpc: emulate_step tests for load/store instructions

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2017-02-14 10:42:45
Also in: lkml

Ravi Bangoria [off-list ref] writes:
quoted hunk ↗ jump to hunk
diff --git a/arch/powerpc/kernel/kprobes.c b/arch/powerpc/kernel/kprobes.c
index fce05a3..5c5ae66 100644
--- a/arch/powerpc/kernel/kprobes.c
+++ b/arch/powerpc/kernel/kprobes.c
@@ -528,6 +528,8 @@ int __kprobes longjmp_break_handler(struct kprobe *p, struct pt_regs *regs)
 
 int __init arch_init_kprobes(void)
 {
+	test_emulate_step();
+
I don't see any good reason why this is called from here.

So I'm inclined to just make test_emulate_step() a regular init call.

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help