summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-06-02 08:55:01 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2022-06-02 08:55:01 -0700
commit7c9e960c636306f632ccae623bf94b2b53d35cbd (patch)
tree5c1ed6ca4a3224e406319ae28cf9a5bc7d0a9a59 /arch/s390
parent12831f6486f9db5a8f2c87129f2b8f33349b1e04 (diff)
parent5d7c854593a460706dacf8e1b16c9bdcb1c2d7bb (diff)
downloadlinux-stable-7c9e960c636306f632ccae623bf94b2b53d35cbd.tar.gz
linux-stable-7c9e960c636306f632ccae623bf94b2b53d35cbd.tar.bz2
linux-stable-7c9e960c636306f632ccae623bf94b2b53d35cbd.zip
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')
-rw-r--r--arch/s390/include/asm/livepatch.h22
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