.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * arch/arm64/include/asm/kprobes.h |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2013 Linaro Limited |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the GNU General Public License version 2 as |
---|
8 | | - * published by the Free Software Foundation. |
---|
9 | | - * |
---|
10 | | - * This program is distributed in the hope that it will be useful, |
---|
11 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
13 | | - * General Public License for more details. |
---|
14 | 6 | */ |
---|
15 | 7 | |
---|
16 | 8 | #ifndef _ARM_KPROBES_H |
---|
.. | .. |
---|
24 | 16 | #include <linux/percpu.h> |
---|
25 | 17 | |
---|
26 | 18 | #define __ARCH_WANT_KPROBES_INSN_SLOT |
---|
27 | | -#define MAX_INSN_SIZE 1 |
---|
| 19 | +#define MAX_INSN_SIZE 2 |
---|
28 | 20 | |
---|
29 | 21 | #define flush_insn_slot(p) do { } while (0) |
---|
30 | 22 | #define kretprobe_blacklist_size 0 |
---|
.. | .. |
---|
54 | 46 | int kprobe_fault_handler(struct pt_regs *regs, unsigned int fsr); |
---|
55 | 47 | int kprobe_exceptions_notify(struct notifier_block *self, |
---|
56 | 48 | unsigned long val, void *data); |
---|
57 | | -int kprobe_breakpoint_handler(struct pt_regs *regs, unsigned int esr); |
---|
58 | | -int kprobe_single_step_handler(struct pt_regs *regs, unsigned int esr); |
---|
59 | 49 | void kretprobe_trampoline(void); |
---|
60 | 50 | void __kprobes *trampoline_probe_handler(struct pt_regs *regs); |
---|
61 | 51 | |
---|