]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/s390/include/asm/uprobes.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / arch / s390 / include / asm / uprobes.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
2a0a5b22
JW
2/*
3 * User-space Probes (UProbes) for s390
4 *
5 * Copyright IBM Corp. 2014
6 * Author(s): Jan Willeke,
7 */
8
9#ifndef _ASM_UPROBES_H
10#define _ASM_UPROBES_H
11
12#include <linux/notifier.h>
13
14typedef u16 uprobe_opcode_t;
15
16#define UPROBE_XOL_SLOT_BYTES 256 /* cache aligned */
17
18#define UPROBE_SWBP_INSN 0x0002
19#define UPROBE_SWBP_INSN_SIZE 2
20
21struct arch_uprobe {
22 union{
23 uprobe_opcode_t insn[3];
24 uprobe_opcode_t ixol[3];
25 };
26 unsigned int saved_per : 1;
27 unsigned int saved_int_code;
28};
29
30struct arch_uprobe_task {
31};
32
2a0a5b22 33#endif /* _ASM_UPROBES_H */