mm: make wait_on_page_writeback() wait for multiple pending writebacks
[linux/fpc-iii.git] / arch / s390 / include / asm / livepatch.h
blobd578a8c7667654162eb7dcf6d55bbdb82b64802f
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 <linux/ftrace.h>
15 #include <asm/ptrace.h>
17 static inline void klp_arch_set_pc(struct ftrace_regs *fregs, unsigned long ip)
19 struct pt_regs *regs = ftrace_get_regs(fregs);
21 regs->psw.addr = ip;
24 #endif