Merge "Use the same union in riscv64's ucontext."
This commit is contained in:
commit
e71efc5ca6
|
@ -366,7 +366,10 @@ typedef struct ucontext_t {
|
||||||
unsigned long uc_flags;
|
unsigned long uc_flags;
|
||||||
struct ucontext_t* uc_link;
|
struct ucontext_t* uc_link;
|
||||||
stack_t uc_stack;
|
stack_t uc_stack;
|
||||||
|
union {
|
||||||
sigset_t uc_sigmask;
|
sigset_t uc_sigmask;
|
||||||
|
sigset64_t uc_sigmask64;
|
||||||
|
};
|
||||||
/* The kernel adds extra padding here to allow sigset_t to grow. */
|
/* The kernel adds extra padding here to allow sigset_t to grow. */
|
||||||
char __padding[128 - sizeof(sigset_t)];
|
char __padding[128 - sizeof(sigset_t)];
|
||||||
mcontext_t uc_mcontext;
|
mcontext_t uc_mcontext;
|
||||||
|
|
Loading…
Reference in New Issue