aboutsummaryrefslogtreecommitdiffstats
path: root/arch/tile/include/uapi/asm/sigcontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tile/include/uapi/asm/sigcontext.h')
-rw-r--r--arch/tile/include/uapi/asm/sigcontext.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/arch/tile/include/uapi/asm/sigcontext.h b/arch/tile/include/uapi/asm/sigcontext.h
index 6348e59d3724..39ff5d1a232d 100644
--- a/arch/tile/include/uapi/asm/sigcontext.h
+++ b/arch/tile/include/uapi/asm/sigcontext.h
@@ -24,10 +24,16 @@
24 * but is simplified since we know the fault is from userspace. 24 * but is simplified since we know the fault is from userspace.
25 */ 25 */
26struct sigcontext { 26struct sigcontext {
27 __uint_reg_t gregs[53]; /* General-purpose registers. */ 27 __extension__ union {
28 __uint_reg_t tp; /* Aliases gregs[TREG_TP]. */ 28 /* General-purpose registers. */
29 __uint_reg_t sp; /* Aliases gregs[TREG_SP]. */ 29 __uint_reg_t gregs[56];
30 __uint_reg_t lr; /* Aliases gregs[TREG_LR]. */ 30 __extension__ struct {
31 __uint_reg_t __gregs[53];
32 __uint_reg_t tp; /* Aliases gregs[TREG_TP]. */
33 __uint_reg_t sp; /* Aliases gregs[TREG_SP]. */
34 __uint_reg_t lr; /* Aliases gregs[TREG_LR]. */
35 };
36 };
31 __uint_reg_t pc; /* Program counter. */ 37 __uint_reg_t pc; /* Program counter. */
32 __uint_reg_t ics; /* In Interrupt Critical Section? */ 38 __uint_reg_t ics; /* In Interrupt Critical Section? */
33 __uint_reg_t faultnum; /* Fault number. */ 39 __uint_reg_t faultnum; /* Fault number. */