commit | b5bfc51707f1b56b0b733980bb4fcc0562bf02d8 | [log] [tgz] |
---|---|---|
author | Li Bin <huawei.libin@huawei.com> | Fri Dec 19 14:11:17 2014 +0800 |
committer | Jiri Kosina <jkosina@suse.cz> | Mon Dec 22 15:40:49 2014 +0100 |
tree | 3b31bf562c78492f3ad304bb053426eb0f9bcbb6 | |
parent | 13d1cf7e702596e0cd8ec62afa6bd49c431f2d0c [diff] |
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: Li Bin <huawei.libin@huawei.com> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>