Skip to content
Snippets Groups Projects
Commit 4b721fcc authored by Jason A. Donenfeld's avatar Jason A. Donenfeld Committed by Shuah Khan
Browse files

selftests: vDSO: align stack for O2-optimized memcpy


When switching on -O2, gcc generates SSE2 instructions that assume a
16-byte aligned stack, which the standalone test's start point wasn't
aligning. Fix this with the usual alignment sequence.

Fixes: ecb8bd70 ("selftests: vDSO: build tests with O2 optimization")
Reported-by: default avatarkernel test robot <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202409241558.98e13f6f-oliver.sang@intel.com


Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent a0474b8d
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment