From 0e85fb6121cf365207ee737314130a526dbe0eac Mon Sep 17 00:00:00 2001 From: Calin Juravle Date: Mon, 19 May 2014 19:14:03 +0100 Subject: [PATCH] Add uc_regspace to arm's ucontext_t Bug: 12828904 Bug: 12875898 Change-Id: Ic5d532bd0ef58cad9e36a99fc2995c4b069121b2 --- libc/include/sys/ucontext.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libc/include/sys/ucontext.h b/libc/include/sys/ucontext.h index f150ac77a..f86d9f4c9 100644 --- a/libc/include/sys/ucontext.h +++ b/libc/include/sys/ucontext.h @@ -71,7 +71,8 @@ typedef struct ucontext { stack_t uc_stack; mcontext_t uc_mcontext; sigset_t uc_sigmask; - /* TODO: uc_regspace */ + char __padding[128 - sizeof(sigset_t)]; + unsigned long uc_regspace[128] __attribute__((__aligned__(8))); } ucontext_t; #elif defined(__aarch64__)