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:
parent
39d9d0a2fc
commit
02baa658d2
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue