[PATCH 2/4] x86: Fix ftrace patching recovery code to work on x86_64

2014-02-17 Thread Petr Mladek
Ftrace modifies function calls using Int3 breakpoints on x86. It patches all functions in parallel to reduce the number of sync() calls. If some function cannot be modified, it tries to recover and remove the other pending breakpoints. The recovery currently does not work on x86_64 because the

[PATCH 2/4] x86: Fix ftrace patching recovery code to work on x86_64

2014-02-17 Thread Petr Mladek
Ftrace modifies function calls using Int3 breakpoints on x86. It patches all functions in parallel to reduce the number of sync() calls. If some function cannot be modified, it tries to recover and remove the other pending breakpoints. The recovery currently does not work on x86_64 because the