[CRIU] [PATCH 1/2] define macro for stack alignment

Christopher Covington cov at codeaurora.org
Wed Dec 30 11:01:03 PST 2015


On 12/30/2015 11:56 AM, Vijaya Kumar K wrote:
> Replace stack alignment magic constant with
> __stack_aligned__ macro.
> Also align stack for sigaltstack test case.
> 
> Signed-off-by: Vijaya Kumar K <vijayak at caviumnetworks.com>
> ---
>  cr-check.c                               |    2 +-
>  cr-restore.c                             |    2 +-
>  include/compiler.h                       |    6 ++++++
>  include/restorer.h                       |    2 +-
>  test/zdtm/lib/ns.c                       |    3 ++-
>  test/zdtm/lib/zdtmtst.h                  |    6 ++++++
>  test/zdtm/live/static/fdt_shared.c       |    2 +-
>  test/zdtm/live/static/mntns_link_remap.c |    2 +-
>  test/zdtm/live/static/mntns_open.c       |    2 +-
>  test/zdtm/live/static/mountpoints.c      |    2 +-
>  test/zdtm/live/static/session02.c        |    2 +-
>  test/zdtm/live/static/session03.c        |    2 +-
>  test/zdtm/live/static/sigaltstack.c      |    4 ++--
>  13 files changed, 25 insertions(+), 12 deletions(-)

Looks great, thanks!

Reviewed-by: Christopher Covington <cov at codeaurora.org>

-- 
Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project


More information about the CRIU mailing list