aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/thread_info_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/thread_info_64.h')
-rw-r--r--arch/sparc/include/asm/thread_info_64.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/arch/sparc/include/asm/thread_info_64.h b/arch/sparc/include/asm/thread_info_64.h
index 798f0279a4b5..ff455164732a 100644
--- a/arch/sparc/include/asm/thread_info_64.h
+++ b/arch/sparc/include/asm/thread_info_64.h
@@ -58,8 +58,6 @@ struct thread_info {
58 unsigned long gsr[7]; 58 unsigned long gsr[7];
59 unsigned long xfsr[7]; 59 unsigned long xfsr[7];
60 60
61 struct restart_block restart_block;
62
63 struct pt_regs *kern_una_regs; 61 struct pt_regs *kern_una_regs;
64 unsigned int kern_una_insn; 62 unsigned int kern_una_insn;
65 63
@@ -92,10 +90,9 @@ struct thread_info {
92#define TI_RWIN_SPTRS 0x000003c8 90#define TI_RWIN_SPTRS 0x000003c8
93#define TI_GSR 0x00000400 91#define TI_GSR 0x00000400
94#define TI_XFSR 0x00000438 92#define TI_XFSR 0x00000438
95#define TI_RESTART_BLOCK 0x00000470 93#define TI_KUNA_REGS 0x00000470
96#define TI_KUNA_REGS 0x000004a0 94#define TI_KUNA_INSN 0x00000478
97#define TI_KUNA_INSN 0x000004a8 95#define TI_FPREGS 0x00000480
98#define TI_FPREGS 0x000004c0
99 96
100/* We embed this in the uppermost byte of thread_info->flags */ 97/* We embed this in the uppermost byte of thread_info->flags */
101#define FAULT_CODE_WRITE 0x01 /* Write access, implies D-TLB */ 98#define FAULT_CODE_WRITE 0x01 /* Write access, implies D-TLB */
@@ -124,9 +121,6 @@ struct thread_info {
124 .current_ds = ASI_P, \ 121 .current_ds = ASI_P, \
125 .exec_domain = &default_exec_domain, \ 122 .exec_domain = &default_exec_domain, \
126 .preempt_count = INIT_PREEMPT_COUNT, \ 123 .preempt_count = INIT_PREEMPT_COUNT, \
127 .restart_block = { \
128 .fn = do_no_restart_syscall, \
129 }, \
130} 124}
131 125
132#define init_thread_info (init_thread_union.thread_info) 126#define init_thread_info (init_thread_union.thread_info)