--- include/asm-x86/current.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) Index: linux-2.6/include/asm-x86/current.h =================================================================== --- linux-2.6.orig/include/asm-x86/current.h 2008-05-06 10:58:03.000000000 -0700 +++ linux-2.6/include/asm-x86/current.h 2008-05-06 10:58:40.000000000 -0700 @@ -1,12 +1,12 @@ #ifndef _X86_CURRENT_H #define _X86_CURRENT_H -struct task_struct; - #ifdef CONFIG_X86_32 #include #include +struct task_struct; + DECLARE_PER_CPU(struct task_struct *, current_task); static __always_inline struct task_struct *get_current(void) { @@ -18,6 +18,8 @@ static __always_inline struct task_struc #ifndef __ASSEMBLY__ #include +struct task_struct; + static __always_inline struct task_struct *get_current(void) { return read_pda(pcurrent);