.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Kernel Probes (KProbes) |
---|
3 | 4 | * include/asm-mips/kprobes.h |
---|
4 | 5 | * |
---|
5 | 6 | * Copyright 2006 Sony Corp. |
---|
6 | 7 | * Copyright 2010 Cavium Networks |
---|
7 | | - * |
---|
8 | | - * This program is free software; you can redistribute it and/or modify |
---|
9 | | - * it under the terms of the GNU General Public License as published by |
---|
10 | | - * the Free Software Foundation; version 2 of the License. |
---|
11 | | - * |
---|
12 | | - * This program is distributed in the hope that it will be useful, |
---|
13 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
14 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
15 | | - * GNU General Public License for more details. |
---|
16 | | - * |
---|
17 | | - * You should have received a copy of the GNU General Public License |
---|
18 | | - * along with this program; if not, write to the Free Software |
---|
19 | | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
20 | 8 | */ |
---|
21 | 9 | |
---|
22 | 10 | #ifndef _ASM_KPROBES_H |
---|
.. | .. |
---|
53 | 41 | #define kretprobe_blacklist_size 0 |
---|
54 | 42 | |
---|
55 | 43 | void arch_remove_kprobe(struct kprobe *p); |
---|
| 44 | +int kprobe_fault_handler(struct pt_regs *regs, int trapnr); |
---|
56 | 45 | |
---|
57 | 46 | /* Architecture specific copy of original instruction*/ |
---|
58 | 47 | struct arch_specific_insn { |
---|