Commit 87368f61 authored by Mao Minkai's avatar Mao Minkai Committed by guzitao
Browse files

sw64: fix sys_rt_sigaction

Sunway inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I56XYC



--------------------------------

__ARCH_HAS_SA_RESTORER was defined to fix compile error in the past.
However, this changed the offset of sa_mask in struct sigaction and
made sys_rt_sigaction unable to get sa_mask passed from user.

To fix this problem, the old sigaction and the related structs are
added back, macro define __ARCH_HAS_SA_RESTORER is removed.

Signed-off-by: default avatarMao Minkai <maominkai@wxiat.com>
Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent 50819653
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment