summaryrefslogtreecommitdiff
path: root/arch/arm64/lib/copy_to_user.S
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2022-11-14 16:59:28 +0300
committerWill Deacon <will@kernel.org>2022-11-15 16:07:44 +0300
commitf750255fdad33e8ac46eadf225d6764148e4642e (patch)
tree156322d3ce8e5427e3fd9d2e97f8ec98d10725df /arch/arm64/lib/copy_to_user.S
parent4488f90c8609e5c420531d604dd19cdfee4ec0e0 (diff)
downloadlinux-f750255fdad33e8ac46eadf225d6764148e4642e.tar.xz
arm64: insn: always inline hint generation
All users of aarch64_insn_gen_hint() (e.g. aarch64_insn_gen_nop()) pass a constant argument and generate a constant value. Some of those users are noinstr code (e.g. for alternatives patching). For noinstr code it is necessary to either inline these functions or to ensure the out-of-line versions are noinstr. Since in all cases these are generating a constant, make them __always_inline. There should be no functional change as a result of this patch. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Joey Gouly <joey.gouly@arm.com> Cc: Will Deacon <will@kernel.org> Reviewed-by: Joey Gouly <joey.gouly@arm.com> Link: https://lore.kernel.org/r/20221114135928.3000571-5-mark.rutland@arm.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/lib/copy_to_user.S')
0 files changed, 0 insertions, 0 deletions