mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
arm64: Save an instruction in locore.S
We can move and sub at the same time, so let's do that.
Reviewed by: andrew, kevans
Pull Request: https://github.com/freebsd/freebsd-src/pull/794
(cherry picked from commit e1fe34707a)
This commit is contained in:
parent
3f89271794
commit
c9bd948da3
1 changed files with 1 additions and 2 deletions
|
|
@ -116,8 +116,7 @@ virtdone:
|
|||
/* Set up the stack */
|
||||
adrp x25, initstack_end
|
||||
add x25, x25, :lo12:initstack_end
|
||||
mov sp, x25
|
||||
sub sp, sp, #PCB_SIZE
|
||||
sub sp, x25, #PCB_SIZE
|
||||
|
||||
/* Zero the BSS */
|
||||
ldr x15, .Lbss
|
||||
|
|
|
|||
Loading…
Reference in a new issue