summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorVladimir Murzin <vladimir.murzin@arm.com>2020-02-06 13:14:38 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2020-02-07 13:37:15 (GMT)
commitb5fc5f845923d15b35079a3473448e7bc26e0127 (patch)
tree3a7fa3cf4f0cfa28a8f30b259a7b4537a07ed049 /libc
parent28c3e6db471b00203133ca89c67f7507a9f7405d (diff)
aarch64/sys: update ucontext.h
It fixes tst-cancel1 and friends. Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/aarch64/sys/ucontext.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/aarch64/sys/ucontext.h b/libc/sysdeps/linux/aarch64/sys/ucontext.h
index dc7303b..5f75cbb 100644
--- a/libc/sysdeps/linux/aarch64/sys/ucontext.h
+++ b/libc/sysdeps/linux/aarch64/sys/ucontext.h
@@ -45,12 +45,13 @@ typedef elf_fpregset_t fpregset_t;
typedef struct sigcontext mcontext_t;
/* Userlevel context. */
-typedef struct ucontext
+typedef struct ucontext_t
{
unsigned long uc_flags;
- struct ucontext *uc_link;
+ struct ucontext_t *uc_link;
stack_t uc_stack;
__sigset_t uc_sigmask;
+ unsigned char __reserved[128];
mcontext_t uc_mcontext;
} ucontext_t;