x86/oprofile: Fix bogus GCC-8 warning in nmi_setup()
[cris-mirror.git] / arch / s390 / include / asm / livepatch.h
blob672f95b12d4065b4fa023444dbd5575ca71d767e
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3 * livepatch.h - s390-specific Kernel Live Patching Core
5 * Copyright (c) 2013-2015 SUSE
6 * Authors: Jiri Kosina
7 * Vojtech Pavlik
8 * Jiri Slaby
9 */
11 #ifndef ASM_LIVEPATCH_H
12 #define ASM_LIVEPATCH_H
14 #include <asm/ptrace.h>
16 static inline int klp_check_compiler_support(void)
18 return 0;
21 static inline void klp_arch_set_pc(struct pt_regs *regs, unsigned long ip)
23 regs->psw.addr = ip;
26 #endif