treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / s390 / include / asm / uprobes.h
blobb60b3c7ef699455d5f0cb6d7e733227cfaae708d
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * User-space Probes (UProbes) for s390
5 * Copyright IBM Corp. 2014
6 * Author(s): Jan Willeke,
7 */
9 #ifndef _ASM_UPROBES_H
10 #define _ASM_UPROBES_H
12 #include <linux/notifier.h>
14 typedef u16 uprobe_opcode_t;
16 #define UPROBE_XOL_SLOT_BYTES 256 /* cache aligned */
18 #define UPROBE_SWBP_INSN 0x0002
19 #define UPROBE_SWBP_INSN_SIZE 2
21 struct arch_uprobe {
22 union{
23 uprobe_opcode_t insn[3];
24 uprobe_opcode_t ixol[3];
26 unsigned int saved_per : 1;
27 unsigned int saved_int_code;
30 struct arch_uprobe_task {
33 #endif /* _ASM_UPROBES_H */