mips: Implement "current_stack_pointer"
[sfrench/cifs-2.6.git] / arch / mips / include / asm / thread_info.h
index 0b17aaa9e012a40c733709feb818332574847c53..4463348d237239e5c07f10cdf0de153de26583a1 100644 (file)
@@ -69,6 +69,8 @@ static inline struct thread_info *current_thread_info(void)
        return __current_thread_info;
 }
 
+register unsigned long current_stack_pointer __asm__("sp");
+
 #endif /* !__ASSEMBLY__ */
 
 /* thread information allocation */