Skip to content
Commit 85481d99 authored by Andy Gross's avatar Andy Gross Committed by Kumar Gala
Browse files

arch: arm: Remove redundant check and fix rounding



This patch removes the redundant stack alignment check being done.  The
stack definition macros enforce the alignment requirements via the
__align() directives.

In addition, fix the rounding down of the psp to be correct.  The
actual initial stack pointer is the end of the stack minus the size of
the __esf structure.  Rounding down after the subtraction will get us
to the correct offset.

Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
parent 817245c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment