Re: [PATCH v4 3/9] powerpc/kprobes/optprobes: Move over to patch_instruction

2017-06-27 Thread Balbir Singh
On Tue, 2017-06-27 at 10:34 +0200, Christophe LEROY wrote: > > Le 27/06/2017 à 09:48, Balbir Singh a écrit : > > With text moving to read-only migrate optprobes to using > > the patch_instruction infrastructure. Without this optprobes > > will fail and complain. > > > > Signed-off-by: Balbir Sing

Re: [PATCH v4 3/9] powerpc/kprobes/optprobes: Move over to patch_instruction

2017-06-27 Thread Christophe LEROY
Le 27/06/2017 à 09:48, Balbir Singh a écrit : With text moving to read-only migrate optprobes to using the patch_instruction infrastructure. Without this optprobes will fail and complain. Signed-off-by: Balbir Singh Didn't Michael picked it up already ? Christophe --- arch/powerpc/ker

[PATCH v4 3/9] powerpc/kprobes/optprobes: Move over to patch_instruction

2017-06-27 Thread Balbir Singh
With text moving to read-only migrate optprobes to using the patch_instruction infrastructure. Without this optprobes will fail and complain. Signed-off-by: Balbir Singh --- arch/powerpc/kernel/optprobes.c | 58 ++--- 1 file changed, 37 insertions(+), 21 delet