It fixes tst-cancel1 and friends.
Signed-off-by: Vladimir Murzin <vladimir.murzin(a)arm.com>
---
libc/sysdeps/linux/aarch64/sys/ucontext.h | 5 +++--
1 file 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;
--
2.7.4
Show replies by date