X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fcurrent.h;h=1938d6abd255056f46711b2786c3720123d90445;hb=09075ef0fd585fb093bb9a6cd1240272114f89cf;hp=82cd4a9ca99a92faca63cf01e41ebc75f6a35c38;hpb=a9931a6e37c09f6b76a9fa0cbd777c335548692b;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-powerpc/current.h b/include/asm-powerpc/current.h index 82cd4a9ca99..1938d6abd25 100644 --- a/include/asm-powerpc/current.h +++ b/include/asm-powerpc/current.h @@ -1,5 +1,6 @@ #ifndef _ASM_POWERPC_CURRENT_H #define _ASM_POWERPC_CURRENT_H +#ifdef __KERNEL__ /* * This program is free software; you can redistribute it and/or @@ -24,4 +25,5 @@ register struct task_struct *current asm ("r2"); #endif +#endif /* __KERNEL__ */ #endif /* _ASM_POWERPC_CURRENT_H */