Merge tag 'livepatching-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching
Pull livepatching cleanup from Petr Mladek: - Remove duplicated livepatch code [Christophe] * tag 'livepatching-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching: livepatch: Remove klp_arch_set_pc() and asm/livepatch.h
This commit is contained in:
@@ -118,7 +118,7 @@ static void notrace klp_ftrace_handler(unsigned long ip,
|
||||
if (func->nop)
|
||||
goto unlock;
|
||||
|
||||
klp_arch_set_pc(fregs, (unsigned long)func->new_func);
|
||||
ftrace_instruction_pointer_set(fregs, (unsigned long)func->new_func);
|
||||
|
||||
unlock:
|
||||
ftrace_test_recursion_unlock(bit);
|
||||
|
||||
Reference in New Issue
Block a user