diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-06-02 18:55:01 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-06-02 18:55:01 +0300 |
commit | 7c9e960c636306f632ccae623bf94b2b53d35cbd (patch) | |
tree | 5c1ed6ca4a3224e406319ae28cf9a5bc7d0a9a59 /arch/s390/include | |
parent | 12831f6486f9db5a8f2c87129f2b8f33349b1e04 (diff) | |
parent | 5d7c854593a460706dacf8e1b16c9bdcb1c2d7bb (diff) | |
download | linux-7c9e960c636306f632ccae623bf94b2b53d35cbd.tar.xz |
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
Diffstat (limited to 'arch/s390/include')
-rw-r--r-- | arch/s390/include/asm/livepatch.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/s390/include/asm/livepatch.h b/arch/s390/include/asm/livepatch.h deleted file mode 100644 index 5209f223331a..000000000000 --- a/arch/s390/include/asm/livepatch.h +++ /dev/null @@ -1,22 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * livepatch.h - s390-specific Kernel Live Patching Core - * - * Copyright (c) 2013-2015 SUSE - * Authors: Jiri Kosina - * Vojtech Pavlik - * Jiri Slaby - */ - -#ifndef ASM_LIVEPATCH_H -#define ASM_LIVEPATCH_H - -#include <linux/ftrace.h> -#include <asm/ptrace.h> - -static inline void klp_arch_set_pc(struct ftrace_regs *fregs, unsigned long ip) -{ - ftrace_instruction_pointer_set(fregs, ip); -} - -#endif |