forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/arch/arm64/include/asm/kprobes.h
....@@ -1,16 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * arch/arm64/include/asm/kprobes.h
34 *
45 * 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.
146 */
157
168 #ifndef _ARM_KPROBES_H
....@@ -24,7 +16,7 @@
2416 #include <linux/percpu.h>
2517
2618 #define __ARCH_WANT_KPROBES_INSN_SLOT
27
-#define MAX_INSN_SIZE 1
19
+#define MAX_INSN_SIZE 2
2820
2921 #define flush_insn_slot(p) do { } while (0)
3022 #define kretprobe_blacklist_size 0
....@@ -54,8 +46,6 @@
5446 int kprobe_fault_handler(struct pt_regs *regs, unsigned int fsr);
5547 int kprobe_exceptions_notify(struct notifier_block *self,
5648 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);
5949 void kretprobe_trampoline(void);
6050 void __kprobes *trampoline_probe_handler(struct pt_regs *regs);
6151