Add greg_t for arm64.

This was already present for the other architectures. I think we skipped
this because glibc seems to have an incorrect definition (int rather than
long), but the kernel has the sane definition (just not in a uapi header).

Change-Id: I0d47a424b505804389853dd8632693dad55a3907
This commit is contained in:
Elliott Hughes 2014-09-19 10:31:49 -07:00
parent 82e71085c2
commit 8e4d371091

View File

@ -78,6 +78,10 @@ typedef struct ucontext {
#elif defined(__aarch64__)
#define NGREG 34 /* x0..x30 + sp + pc + pstate */
typedef unsigned long greg_t;
typedef greg_t gregset_t[NGREG];
#include <asm/sigcontext.h>
typedef struct sigcontext mcontext_t;