Re: [PATCH v2 5/8] powerpc/ftrace: Use generic ftrace_modify_all_code()

2016-03-01 Thread Kamalesh Babulal
* Michael Ellerman [2016-02-29 20:26:26]: > 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

[PATCH v2 5/8] powerpc/ftrace: Use generic ftrace_modify_all_code()

2016-02-29 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