Merge "Use the same union in riscv64's ucontext."

This commit is contained in:
Treehugger Robot 2022-11-09 22:21:25 +00:00 committed by Gerrit Code Review
commit e71efc5ca6
1 changed files with 4 additions and 1 deletions

View File

@ -366,7 +366,10 @@ typedef struct ucontext_t {
unsigned long uc_flags;
struct ucontext_t* uc_link;
stack_t uc_stack;
sigset_t uc_sigmask;
union {
sigset_t uc_sigmask;
sigset64_t uc_sigmask64;
};
/* The kernel adds extra padding here to allow sigset_t to grow. */
char __padding[128 - sizeof(sigset_t)];
mcontext_t uc_mcontext;