Suresh Siddha | 61c4628 | 2008-03-10 15:28:04 -0700 | [diff] [blame] | 1 | #ifndef _ASM_X86_THREAD_INFO_H |
Thomas Gleixner | 96a388d | 2007-10-11 11:20:03 +0200 | [diff] [blame] | 2 | #ifdef CONFIG_X86_32 |
| 3 | # include "thread_info_32.h" |
| 4 | #else |
| 5 | # include "thread_info_64.h" |
| 6 | #endif |
Suresh Siddha | 61c4628 | 2008-03-10 15:28:04 -0700 | [diff] [blame] | 7 | |
| 8 | #ifndef __ASSEMBLY__ |
| 9 | extern void arch_task_cache_init(void); |
| 10 | extern void free_thread_info(struct thread_info *ti); |
| 11 | extern int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src); |
Suresh Siddha | 2adee9b | 2008-04-16 10:25:35 +0200 | [diff] [blame] | 12 | #define arch_task_cache_init arch_task_cache_init |
Suresh Siddha | 61c4628 | 2008-03-10 15:28:04 -0700 | [diff] [blame] | 13 | #endif |
| 14 | #endif /* _ASM_X86_THREAD_INFO_H */ |