diff options
author | andrew <andrew@FreeBSD.org> | 2013-08-06 10:03:44 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2013-08-06 10:03:44 +0000 |
commit | eacc009ef657c5ff020973607fbaeff39343d55c (patch) | |
tree | 582fb6f96747b99e87c0b95feffd714eb14a0db6 | |
parent | 119e3f63907237d41691e8e38788f7a039ef83d5 (diff) | |
download | FreeBSD-src-eacc009ef657c5ff020973607fbaeff39343d55c.zip FreeBSD-src-eacc009ef657c5ff020973607fbaeff39343d55c.tar.gz |
We no longer need to align the stack before calling swi_handler as it is
already aligned correctly in the PUSHFRAME macro.
-rw-r--r-- | sys/arm/arm/exception.S | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/arm/arm/exception.S b/sys/arm/arm/exception.S index 171211a..55a4f64 100644 --- a/sys/arm/arm/exception.S +++ b/sys/arm/arm/exception.S @@ -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 |