diff options
author | Mark Rutland <mark.rutland@arm.com> | 2022-10-19 15:41:22 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-11-15 13:46:18 +0000 |
commit | 0c5f416219da3795dc8b33e5bb7865a6b3c4e55c (patch) | |
tree | b0320c3a8e05a42f956a6ac21e1306d26e70a630 /arch/arm64/kernel/traps.c | |
parent | 25eeac0cfe7c97ade1be07340e11e7143aab57a6 (diff) | |
download | linux-0c5f416219da3795dc8b33e5bb7865a6b3c4e55c.tar.gz linux-0c5f416219da3795dc8b33e5bb7865a6b3c4e55c.tar.bz2 linux-0c5f416219da3795dc8b33e5bb7865a6b3c4e55c.zip |
arm64: armv8_deprecated: move aarch32 helper earlier
Subsequent patches will rework the logic in armv8_deprecated.c.
In preparation for subsequent changes, this patch moves some shared logic
earlier in the file. This will make subsequent diffs simpler and easier to
read.
At the same time, drop the `__kprobes` annotation from
aarch32_check_condition(), as this is only used for traps from compat
userspace, and has no risk of recursion within kprobes. As this is the
last kprobes annotation in armve8_deprecated.c, we no longer need to
include <asm/kprobes.h>.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Joey Gouly <joey.gouly@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20221019144123.612388-9-mark.rutland@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions