aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2020-07-21 10:33:15 +0200
committerCatalin Marinas <[email protected]>2020-07-23 12:38:55 +0100
commit0ae3b13aab210e2a8c14371731abddfee228ae24 (patch)
tree90d3bc707aaac7f04a85ee600144bb17e9ada371 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent493cf9b723bcc87e9284e5e5971259951a13f22e (diff)
arm64/entry: deduplicate SW PAN entry/exit routines
Factor the 12 copies of the SW PAN entry and exit code into callable subroutines, and use alternatives patching to either emit a 'bl' instruction to call them, or a NOP if h/w PAN is found to be available at runtime. Signed-off-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions