aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-xtensa/elf.h')
-rw-r--r--include/asm-xtensa/elf.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/asm-xtensa/elf.h b/include/asm-xtensa/elf.h
index 86479b86c02e..11103e07d028 100644
--- a/include/asm-xtensa/elf.h
+++ b/include/asm-xtensa/elf.h
@@ -173,6 +173,21 @@ extern void xtensa_elf_core_copy_regs (xtensa_gregset_t *, struct pt_regs *);
173 _r->areg[12]=0; _r->areg[13]=0; _r->areg[14]=0; _r->areg[15]=0; \ 173 _r->areg[12]=0; _r->areg[13]=0; _r->areg[14]=0; _r->areg[15]=0; \
174 } while (0) 174 } while (0)
175 175
176typedef struct {
177 xtregs_opt_t opt;
178 xtregs_user_t user;
179#if XTENSA_HAVE_COPROCESSORS
180 xtregs_cp0_t cp0;
181 xtregs_cp1_t cp1;
182 xtregs_cp2_t cp2;
183 xtregs_cp3_t cp3;
184 xtregs_cp4_t cp4;
185 xtregs_cp5_t cp5;
186 xtregs_cp6_t cp6;
187 xtregs_cp7_t cp7;
188#endif
189} elf_xtregs_t;
190
176#define SET_PERSONALITY(ex, ibcs2) set_personality(PER_LINUX_32BIT) 191#define SET_PERSONALITY(ex, ibcs2) set_personality(PER_LINUX_32BIT)
177 192
178struct task_struct; 193struct task_struct;