]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - arch/s390/include/asm/livepatch.h
Merge remote-tracking branches 'spi/fix/armada', 'spi/fix/atmel', 'spi/fix/doc',...
[mirror_ubuntu-hirsute-kernel.git] / arch / s390 / include / asm / livepatch.h
CommitLineData
0b73214f 1/* SPDX-License-Identifier: GPL-2.0+ */
21042d43
JS
2/*
3 * livepatch.h - s390-specific Kernel Live Patching Core
4 *
5 * Copyright (c) 2013-2015 SUSE
6 * Authors: Jiri Kosina
7 * Vojtech Pavlik
8 * Jiri Slaby
9 */
10
21042d43
JS
11#ifndef ASM_LIVEPATCH_H
12#define ASM_LIVEPATCH_H
13
d3217967 14#include <asm/ptrace.h>
21042d43 15
21042d43
JS
16static inline int klp_check_compiler_support(void)
17{
18 return 0;
19}
20
21042d43
JS
21static inline void klp_arch_set_pc(struct pt_regs *regs, unsigned long ip)
22{
23 regs->psw.addr = ip;
24}
21042d43
JS
25
26#endif