aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/ds.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/ds.h')
-rw-r--r--arch/x86/include/asm/ds.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/include/asm/ds.h b/arch/x86/include/asm/ds.h
index ee0ea3a96c11..a8f672ba100c 100644
--- a/arch/x86/include/asm/ds.h
+++ b/arch/x86/include/asm/ds.h
@@ -252,12 +252,21 @@ extern void __cpuinit ds_init_intel(struct cpuinfo_x86 *);
252 */ 252 */
253extern void ds_switch_to(struct task_struct *prev, struct task_struct *next); 253extern void ds_switch_to(struct task_struct *prev, struct task_struct *next);
254 254
255/*
256 * Task clone/init and cleanup work
257 */
258extern void ds_copy_thread(struct task_struct *tsk, struct task_struct *father);
259extern void ds_exit_thread(struct task_struct *tsk);
260
255#else /* CONFIG_X86_DS */ 261#else /* CONFIG_X86_DS */
256 262
257struct cpuinfo_x86; 263struct cpuinfo_x86;
258static inline void __cpuinit ds_init_intel(struct cpuinfo_x86 *ignored) {} 264static inline void __cpuinit ds_init_intel(struct cpuinfo_x86 *ignored) {}
259static inline void ds_switch_to(struct task_struct *prev, 265static inline void ds_switch_to(struct task_struct *prev,
260 struct task_struct *next) {} 266 struct task_struct *next) {}
267static inline void ds_copy_thread(struct task_struct *tsk,
268 struct task_struct *father) {}
269static inline void ds_exit_thread(struct task_struct *tsk) {}
261 270
262#endif /* CONFIG_X86_DS */ 271#endif /* CONFIG_X86_DS */
263#endif /* _ASM_X86_DS_H */ 272#endif /* _ASM_X86_DS_H */