xtensa: remove unneeded addi in xtensa_userspace_enter

There is no need to do a addi to a1 because it is
immediately overwritten anyway.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2024-01-29 15:45:47 -08:00 committed by David Leach
commit 02baa658d2

View file

@ -265,8 +265,6 @@ xtensa_userspace_enter:
/* stash user stack */
l32i a0, a1, 4
addi a1, a1, 28
/* Go back to user stack */
mov a1, a0