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

Original change: https://android-review.googlesource.com/c/platform/bionic/+/2294860

Change-Id: I7693d4a49aabf4ebcc4bf4519a18a16b4e8b0e40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2022-11-09 22:50:40 +00:00 committed by Automerger Merge Worker
commit dba9325d55

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;