Root/target/linux/generic/patches-3.0/302-mips_use_generic_thread_info_allocator.patch

1--- a/arch/mips/include/asm/thread_info.h
2+++ b/arch/mips/include/asm/thread_info.h
3@@ -85,6 +85,7 @@ register struct thread_info *__current_t
4 
5 #define STACK_WARN (THREAD_SIZE / 8)
6 
7+#if 0
8 #define __HAVE_ARCH_THREAD_INFO_ALLOCATOR
9 
10 #ifdef CONFIG_DEBUG_STACK_USAGE
11@@ -96,6 +97,7 @@ register struct thread_info *__current_t
12 #endif
13 
14 #define free_thread_info(info) kfree(info)
15+#endif
16 
17 #endif /* !__ASSEMBLY__ */
18 
19

Archive Download this file



interactive