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:
parent
82e71085c2
commit
8e4d371091
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user