arm64/vector: Reduce two useless instructions

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
This commit is contained in:
wangmingrong1 2025-01-10 14:21:22 +08:00 committed by Xiang Xiao
parent d22e6d7489
commit e5e9032ea0

View file

@ -89,10 +89,8 @@
/* Increment exception depth */
mrs \xreg0, tpidrro_el0
mov \xreg1, #1
add \xreg0, \xreg0, \xreg1
msr tpidrro_el0, \xreg0
add \xreg1, \xreg1, #1
msr tpidrro_el0, \xreg1
/* Save the FPU registers */