.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * arch/arm/probes/kprobes/checkers-common.c |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2014 Huawei Inc. |
---|
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 | #include <linux/kernel.h> |
---|
.. | .. |
---|
48 | 40 | * Different from other insn uses imm8, the real addressing offset of |
---|
49 | 41 | * STRD in T32 encoding should be imm8 * 4. See ARMARM description. |
---|
50 | 42 | */ |
---|
51 | | -enum probes_insn checker_stack_use_t32strd(probes_opcode_t insn, |
---|
| 43 | +static enum probes_insn checker_stack_use_t32strd(probes_opcode_t insn, |
---|
52 | 44 | struct arch_probes_insn *asi, |
---|
53 | 45 | const struct decode_header *h) |
---|
54 | 46 | { |
---|