1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * User-space Probes (UProbes) for powerpc
7 * Copyright IBM Corporation, 2007-2012
12 #include <linux/notifier.h>
13 #include <asm/probes.h>
15 typedef u32 uprobe_opcode_t;
17 #define MAX_UINSN_BYTES 8
18 #define UPROBE_XOL_SLOT_BYTES (MAX_UINSN_BYTES)
20 /* The following alias is needed for reference from arch-agnostic code */
21 #define UPROBE_SWBP_INSN BREAKPOINT_INSTRUCTION
22 #define UPROBE_SWBP_INSN_SIZE 4 /* swbp insn size in bytes */
31 struct arch_uprobe_task {
32 unsigned long saved_trap_nr;
35 #endif /* _ASM_UPROBES_H */