diff options
Diffstat (limited to 'include/asm-xtensa/processor.h')
-rw-r--r-- | include/asm-xtensa/processor.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/include/asm-xtensa/processor.h b/include/asm-xtensa/processor.h index 96408f436624..4918a4e96d42 100644 --- a/include/asm-xtensa/processor.h +++ b/include/asm-xtensa/processor.h | |||
@@ -103,10 +103,6 @@ struct thread_struct { | |||
103 | unsigned long dbreaka[XCHAL_NUM_DBREAK]; | 103 | unsigned long dbreaka[XCHAL_NUM_DBREAK]; |
104 | unsigned long dbreakc[XCHAL_NUM_DBREAK]; | 104 | unsigned long dbreakc[XCHAL_NUM_DBREAK]; |
105 | 105 | ||
106 | /* Allocate storage for extra state and coprocessor state. */ | ||
107 | unsigned char cp_save[XTENSA_CP_EXTRA_SIZE] | ||
108 | __attribute__ ((aligned(XTENSA_CP_EXTRA_ALIGN))); | ||
109 | |||
110 | /* Make structure 16 bytes aligned. */ | 106 | /* Make structure 16 bytes aligned. */ |
111 | int align[0] __attribute__ ((aligned(16))); | 107 | int align[0] __attribute__ ((aligned(16))); |
112 | }; | 108 | }; |
@@ -162,21 +158,16 @@ struct thread_struct { | |||
162 | struct task_struct; | 158 | struct task_struct; |
163 | struct mm_struct; | 159 | struct mm_struct; |
164 | 160 | ||
165 | // FIXME: do we need release_thread for CP?? | ||
166 | /* Free all resources held by a thread. */ | 161 | /* Free all resources held by a thread. */ |
167 | #define release_thread(thread) do { } while(0) | 162 | #define release_thread(thread) do { } while(0) |
168 | 163 | ||
169 | // FIXME: do we need prepare_to_copy (lazy status) for CP?? | ||
170 | /* Prepare to copy thread state - unlazy all lazy status */ | 164 | /* Prepare to copy thread state - unlazy all lazy status */ |
171 | #define prepare_to_copy(tsk) do { } while (0) | 165 | extern void prepare_to_copy(struct task_struct*); |
172 | 166 | ||
173 | /* | 167 | /* Create a kernel thread without removing it from tasklists */ |
174 | * create a kernel thread without removing it from tasklists | ||
175 | */ | ||
176 | extern int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags); | 168 | extern int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags); |
177 | 169 | ||
178 | /* Copy and release all segment info associated with a VM */ | 170 | /* Copy and release all segment info associated with a VM */ |
179 | |||
180 | #define copy_segments(p, mm) do { } while(0) | 171 | #define copy_segments(p, mm) do { } while(0) |
181 | #define release_segments(mm) do { } while(0) | 172 | #define release_segments(mm) do { } while(0) |
182 | #define forget_segments() do { } while (0) | 173 | #define forget_segments() do { } while (0) |