In subsequent patches we'll add a sew of ftrace_regs_{get,set}_*() helpers. In preparation, this patch renames ftrace_instruction_pointer_set() to ftrace_regs_set_instruction_pointer(). There should be no functional change as a result of this patch.
Showing the changes to kernel/livepatch/patch.c (1 of 5 files). Show all
Unified · Split
| @@ -118,7 +118,7 @@ static void notrace klp_ftrace_handler(unsigned long ip, · 117 unmodified lines | ||
| 118 | 118 | if (func->nop) |
| 119 | 119 | goto unlock; |
| 120 | 120 | |
| 121 | − ftrace_instruction_pointer_set(fregs, (unsigned long)func->new_func); | |
| 121 | + ftrace_regs_set_instruction_pointer(fregs, (unsigned long)func->new_func); | |
| 122 | 122 | |
| 123 | 123 | unlock: |
| 124 | 124 | ftrace_test_recursion_unlock(bit); |