diff options
Diffstat (limited to 'arch/tile/include/asm/sigcontext.h')
-rw-r--r-- | arch/tile/include/asm/sigcontext.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/arch/tile/include/asm/sigcontext.h b/arch/tile/include/asm/sigcontext.h index 5e2d03336f53..6348e59d3724 100644 --- a/arch/tile/include/asm/sigcontext.h +++ b/arch/tile/include/asm/sigcontext.h | |||
@@ -15,6 +15,8 @@ | |||
15 | #ifndef _ASM_TILE_SIGCONTEXT_H | 15 | #ifndef _ASM_TILE_SIGCONTEXT_H |
16 | #define _ASM_TILE_SIGCONTEXT_H | 16 | #define _ASM_TILE_SIGCONTEXT_H |
17 | 17 | ||
18 | /* Don't pollute the namespace since <signal.h> includes this file. */ | ||
19 | #define __need_int_reg_t | ||
18 | #include <arch/abi.h> | 20 | #include <arch/abi.h> |
19 | 21 | ||
20 | /* | 22 | /* |
@@ -22,14 +24,14 @@ | |||
22 | * but is simplified since we know the fault is from userspace. | 24 | * but is simplified since we know the fault is from userspace. |
23 | */ | 25 | */ |
24 | struct sigcontext { | 26 | struct sigcontext { |
25 | uint_reg_t gregs[53]; /* General-purpose registers. */ | 27 | __uint_reg_t gregs[53]; /* General-purpose registers. */ |
26 | uint_reg_t tp; /* Aliases gregs[TREG_TP]. */ | 28 | __uint_reg_t tp; /* Aliases gregs[TREG_TP]. */ |
27 | uint_reg_t sp; /* Aliases gregs[TREG_SP]. */ | 29 | __uint_reg_t sp; /* Aliases gregs[TREG_SP]. */ |
28 | uint_reg_t lr; /* Aliases gregs[TREG_LR]. */ | 30 | __uint_reg_t lr; /* Aliases gregs[TREG_LR]. */ |
29 | uint_reg_t pc; /* Program counter. */ | 31 | __uint_reg_t pc; /* Program counter. */ |
30 | uint_reg_t ics; /* In Interrupt Critical Section? */ | 32 | __uint_reg_t ics; /* In Interrupt Critical Section? */ |
31 | uint_reg_t faultnum; /* Fault number. */ | 33 | __uint_reg_t faultnum; /* Fault number. */ |
32 | uint_reg_t pad[5]; | 34 | __uint_reg_t pad[5]; |
33 | }; | 35 | }; |
34 | 36 | ||
35 | #endif /* _ASM_TILE_SIGCONTEXT_H */ | 37 | #endif /* _ASM_TILE_SIGCONTEXT_H */ |