]> Git Repo - linux.git/blob - arch/x86/include/asm/livepatch.h
enetc: Migrate to PHYLINK and PCS_LYNX
[linux.git] / arch / x86 / include / asm / livepatch.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * livepatch.h - x86-specific Kernel Live Patching Core
4  *
5  * Copyright (C) 2014 Seth Jennings <[email protected]>
6  * Copyright (C) 2014 SUSE
7  */
8
9 #ifndef _ASM_X86_LIVEPATCH_H
10 #define _ASM_X86_LIVEPATCH_H
11
12 #include <asm/setup.h>
13 #include <linux/ftrace.h>
14
15 static inline void klp_arch_set_pc(struct pt_regs *regs, unsigned long ip)
16 {
17         regs->ip = ip;
18 }
19
20 #endif /* _ASM_X86_LIVEPATCH_H */
This page took 0.034236 seconds and 4 git commands to generate.