Re: [PATCH 09/12] powerpc/ftrace: Use generic ftrace_modify_all_code()

2016-02-24 Thread Balbir Singh
On 25/02/16 01:28, Michael Ellerman wrote: > From: Torsten Duwe > > Convert powerpc's arch_ftrace_update_code() from its own version to use > the generic default functionality (without stop_machine -- our > instructions are properly aligned and the replacements atomic). > > With this we gain err

[PATCH 09/12] powerpc/ftrace: Use generic ftrace_modify_all_code()

2016-02-24 Thread Michael Ellerman
From: Torsten Duwe Convert powerpc's arch_ftrace_update_code() from its own version to use the generic default functionality (without stop_machine -- our instructions are properly aligned and the replacements atomic). With this we gain error checking and the much-needed function_trace_op handlin