Skip to content
Commit 0e64f1d7 authored by Orson Zhai's avatar Orson Zhai Committed by Shuah Khan
Browse files

selftests: memfd: Align STACK_SIZE for ARM AArch64 system

The stack size should be 16 bytes aligned in arm64 system. The similar
patch has been merged already.

> <commit id: 1f78dda2>
> selftests: memfd_test: Revised STACK_SIZE to make it 16-byte aligned
>
>    There is a mandate of 16-byte aligned stack on AArch64 [1], so the
>    STACK_SIZE here should also be 16-byte aligned, otherwise we would
>    get an error when calling clone().
>
>    [1] http://lxr.free-electrons.com/source/arch/arm64/kernel/process.c#L265


>
>    Signed-off-by: default avatarChunyan Zhang <zhang.chunyan@linaro.org>
>    Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
>    Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>

Signed-off-by: default avatarOrson Zhai <orson.zhai@linaro.org>
Reviewed-by: default avatarSumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent 43c64374
Loading
Loading
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