diff options
author | Mark Rutland <[email protected]> | 2022-11-14 13:59:28 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2022-11-15 13:07:44 +0000 |
commit | f750255fdad33e8ac46eadf225d6764148e4642e (patch) | |
tree | 156322d3ce8e5427e3fd9d2e97f8ec98d10725df /lib/mpi/mpi-sub-ui.c | |
parent | 4488f90c8609e5c420531d604dd19cdfee4ec0e0 (diff) |
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 <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Joey Gouly <[email protected]>
Cc: Will Deacon <[email protected]>
Reviewed-by: Joey Gouly <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions