Skip to content
Commit 7f028e2f authored by Daniel Leung's avatar Daniel Leung Committed by Benjamin Cabé
Browse files

xtensa: userspace: align stack before calling syscall handler



We stuff the 7th argument into stack by moving the stack pointer
before calling syscall handler. The Xtensa ABI says stack must
be 16-byte aligned. So instead of moving stack pointer 4 bytes,
we move 16 bytes (assuming stack has been aligned so far).

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 482f9fbb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment