X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=arch%2Fmips%2Finclude%2Fasm%2Fthread_info.h;fp=arch%2Fmips%2Finclude%2Fasm%2Fthread_info.h;h=ecae7470faa4058403b259c9ea199267684e30db;hb=9a8b3d5f71eb74b1b95927bd320b1070866a119a;hp=0b17aaa9e012a40c733709feb818332574847c53;hpb=34af78c4e616c359ed428d79fe4758a35d2c5473;p=sfrench%2Fcifs-2.6.git diff --git a/arch/mips/include/asm/thread_info.h b/arch/mips/include/asm/thread_info.h index 0b17aaa9e012..ecae7470faa4 100644 --- a/arch/mips/include/asm/thread_info.h +++ b/arch/mips/include/asm/thread_info.h @@ -69,6 +69,10 @@ static inline struct thread_info *current_thread_info(void) return __current_thread_info; } +#ifdef CONFIG_ARCH_HAS_CURRENT_STACK_POINTER +register unsigned long current_stack_pointer __asm__("sp"); +#endif + #endif /* !__ASSEMBLY__ */ /* thread information allocation */