kprobes.h (03ab8e6297acd1bc0eedaa050e2a1635c576fd11) | kprobes.h (abc28463c81853e4fdf8d009f71b2a3ce62a6f40) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __ASM_SH_KPROBES_H 3#define __ASM_SH_KPROBES_H 4 5#include <asm-generic/kprobes.h> 6 7#define BREAKPOINT_INSTRUCTION 0xc33a 8 --- 32 unchanged lines hidden (view full) --- 41 42/* per-cpu kprobe control block */ 43struct kprobe_ctlblk { 44 unsigned long kprobe_status; 45 struct prev_kprobe prev_kprobe; 46}; 47 48extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr); | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __ASM_SH_KPROBES_H 3#define __ASM_SH_KPROBES_H 4 5#include <asm-generic/kprobes.h> 6 7#define BREAKPOINT_INSTRUCTION 0xc33a 8 --- 32 unchanged lines hidden (view full) --- 41 42/* per-cpu kprobe control block */ 43struct kprobe_ctlblk { 44 unsigned long kprobe_status; 45 struct prev_kprobe prev_kprobe; 46}; 47 48extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr); |
49extern int kprobe_exceptions_notify(struct notifier_block *self, 50 unsigned long val, void *data); | |
51extern int kprobe_handle_illslot(unsigned long pc); 52#else 53 54#define kprobe_handle_illslot(pc) (-1) 55 56#endif /* CONFIG_KPROBES */ 57#endif /* __ASM_SH_KPROBES_H */ | 49extern int kprobe_handle_illslot(unsigned long pc); 50#else 51 52#define kprobe_handle_illslot(pc) (-1) 53 54#endif /* CONFIG_KPROBES */ 55#endif /* __ASM_SH_KPROBES_H */ |