Skip to content
Commit b5bfc517 authored by Li Bin's avatar Li Bin Committed by Jiri Kosina
Browse files

livepatch: move x86 specific ftrace handler code to arch/x86



The execution flow redirection related implemention in the livepatch
ftrace handler is depended on the specific architecture. This patch
introduces klp_arch_set_pc(like kgdb_arch_set_pc) interface to change
the pt_regs.

Signed-off-by: default avatarLi Bin <huawei.libin@huawei.com>
Acked-by: default avatarJosh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 13d1cf7e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment