kprobes.h (03ab8e6297acd1bc0eedaa050e2a1635c576fd11) kprobes.h (abc28463c81853e4fdf8d009f71b2a3ce62a6f40)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _SPARC64_KPROBES_H
3#define _SPARC64_KPROBES_H
4
5#include <asm-generic/kprobes.h>
6
7#define BREAKPOINT_INSTRUCTION 0x91d02070 /* ta 0x70 */
8#define BREAKPOINT_INSTRUCTION_2 0x91d02071 /* ta 0x71 */

--- 33 unchanged lines hidden (view full) ---

42/* per-cpu kprobe control block */
43struct kprobe_ctlblk {
44 unsigned long kprobe_status;
45 unsigned long kprobe_orig_tnpc;
46 unsigned long kprobe_orig_tstate_pil;
47 struct prev_kprobe prev_kprobe;
48};
49
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _SPARC64_KPROBES_H
3#define _SPARC64_KPROBES_H
4
5#include <asm-generic/kprobes.h>
6
7#define BREAKPOINT_INSTRUCTION 0x91d02070 /* ta 0x70 */
8#define BREAKPOINT_INSTRUCTION_2 0x91d02071 /* ta 0x71 */

--- 33 unchanged lines hidden (view full) ---

42/* per-cpu kprobe control block */
43struct kprobe_ctlblk {
44 unsigned long kprobe_status;
45 unsigned long kprobe_orig_tnpc;
46 unsigned long kprobe_orig_tstate_pil;
47 struct prev_kprobe prev_kprobe;
48};
49
50int kprobe_exceptions_notify(struct notifier_block *self,
51 unsigned long val, void *data);
52int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
53asmlinkage void __kprobes kprobe_trap(unsigned long trap_level,
54 struct pt_regs *regs);
55
56#endif /* CONFIG_KPROBES */
57#endif /* _SPARC64_KPROBES_H */
50int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
51asmlinkage void __kprobes kprobe_trap(unsigned long trap_level,
52 struct pt_regs *regs);
53
54#endif /* CONFIG_KPROBES */
55#endif /* _SPARC64_KPROBES_H */