mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-19 06:44:31 +00:00
We no longer need to align the stack before calling swi_handler as it is
already aligned correctly in the PUSHFRAME macro.
This commit is contained in:
parent
d561392572
commit
6d65b3be10
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253985
|
@ -83,10 +83,7 @@ ASENTRY_NP(swi_entry)
|
|||
PUSHFRAME
|
||||
|
||||
mov r0, sp /* Pass the frame to any function */
|
||||
mov r6, sp /* Backup the stack pointer */
|
||||
bic sp, sp, #7 /* Align the stack pointer */
|
||||
bl _C_LABEL(swi_handler) /* It's a SWI ! */
|
||||
mov sp, r6 /* Restore the stack */
|
||||
|
||||
DO_AST
|
||||
PULLFRAME
|
||||
|
|
Loading…
Reference in a new issue