diff options
Diffstat (limited to 'arch/sparc/include/asm/thread_info_64.h')
-rw-r--r-- | arch/sparc/include/asm/thread_info_64.h | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/arch/sparc/include/asm/thread_info_64.h b/arch/sparc/include/asm/thread_info_64.h index ff455164732a..bde59825d06c 100644 --- a/arch/sparc/include/asm/thread_info_64.h +++ b/arch/sparc/include/asm/thread_info_64.h | |||
@@ -31,7 +31,6 @@ | |||
31 | #include <asm/types.h> | 31 | #include <asm/types.h> |
32 | 32 | ||
33 | struct task_struct; | 33 | struct task_struct; |
34 | struct exec_domain; | ||
35 | 34 | ||
36 | struct thread_info { | 35 | struct thread_info { |
37 | /* D$ line 1 */ | 36 | /* D$ line 1 */ |
@@ -44,7 +43,6 @@ struct thread_info { | |||
44 | /* D$ line 2 */ | 43 | /* D$ line 2 */ |
45 | unsigned long fault_address; | 44 | unsigned long fault_address; |
46 | struct pt_regs *kregs; | 45 | struct pt_regs *kregs; |
47 | struct exec_domain *exec_domain; | ||
48 | int preempt_count; /* 0 => preemptable, <0 => BUG */ | 46 | int preempt_count; /* 0 => preemptable, <0 => BUG */ |
49 | __u8 new_child; | 47 | __u8 new_child; |
50 | __u8 current_ds; | 48 | __u8 current_ds; |
@@ -80,18 +78,17 @@ struct thread_info { | |||
80 | #define TI_KSP 0x00000018 | 78 | #define TI_KSP 0x00000018 |
81 | #define TI_FAULT_ADDR 0x00000020 | 79 | #define TI_FAULT_ADDR 0x00000020 |
82 | #define TI_KREGS 0x00000028 | 80 | #define TI_KREGS 0x00000028 |
83 | #define TI_EXEC_DOMAIN 0x00000030 | 81 | #define TI_PRE_COUNT 0x00000030 |
84 | #define TI_PRE_COUNT 0x00000038 | 82 | #define TI_NEW_CHILD 0x00000034 |
85 | #define TI_NEW_CHILD 0x0000003c | 83 | #define TI_CURRENT_DS 0x00000035 |
86 | #define TI_CURRENT_DS 0x0000003d | 84 | #define TI_CPU 0x00000036 |
87 | #define TI_CPU 0x0000003e | 85 | #define TI_UTRAPS 0x00000038 |
88 | #define TI_UTRAPS 0x00000040 | 86 | #define TI_REG_WINDOW 0x00000040 |
89 | #define TI_REG_WINDOW 0x00000048 | 87 | #define TI_RWIN_SPTRS 0x000003c0 |
90 | #define TI_RWIN_SPTRS 0x000003c8 | 88 | #define TI_GSR 0x000003f8 |
91 | #define TI_GSR 0x00000400 | 89 | #define TI_XFSR 0x00000430 |
92 | #define TI_XFSR 0x00000438 | 90 | #define TI_KUNA_REGS 0x00000468 |
93 | #define TI_KUNA_REGS 0x00000470 | 91 | #define TI_KUNA_INSN 0x00000470 |
94 | #define TI_KUNA_INSN 0x00000478 | ||
95 | #define TI_FPREGS 0x00000480 | 92 | #define TI_FPREGS 0x00000480 |
96 | 93 | ||
97 | /* We embed this in the uppermost byte of thread_info->flags */ | 94 | /* We embed this in the uppermost byte of thread_info->flags */ |
@@ -119,7 +116,6 @@ struct thread_info { | |||
119 | { \ | 116 | { \ |
120 | .task = &tsk, \ | 117 | .task = &tsk, \ |
121 | .current_ds = ASI_P, \ | 118 | .current_ds = ASI_P, \ |
122 | .exec_domain = &default_exec_domain, \ | ||
123 | .preempt_count = INIT_PREEMPT_COUNT, \ | 119 | .preempt_count = INIT_PREEMPT_COUNT, \ |
124 | } | 120 | } |
125 | 121 | ||