summaryrefslogtreecommitdiff
path: root/arch/arm/lib/stack.c
diff options
context:
space:
mode:
authorPierre-Clément Tosi <ptosi@google.com>2021-08-27 18:03:45 +0200
committerTom Rini <trini@konsulko.com>2021-09-23 08:55:06 -0400
commitf050bfacc54deda3598a99645ec90727742494eb (patch)
tree90363833dcc85dccc9147bdd2ee43922338f7b13 /arch/arm/lib/stack.c
parentf6bc5d17afa9fe12418edaf1fc9f82beeda06132 (diff)
armv8/cache.S: Read sysreg fields through ubfx
Improve the file's readability and conciseness by using the appropriate Aarch64 instruction: ubfx (unsigned bitfield extract). This makes the code easier to follow as it directly manipulates the offsets and widths of the fields read from system registers, as they are expressed in the Standard (ARM ARM). This has the added benefit (albeit arguably negligible) of reducing the final code size. Signed-off-by: Pierre-Clément Tosi <ptosi@google.com>
Diffstat (limited to 'arch/arm/lib/stack.c')
0 files changed, 0 insertions, 0 deletions