[target/generic/mips]: we don't support gcc 4.1.x
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-2.6.35 / 022-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 @@ -83,6 +83,7 @@ register struct thread_info *__current_t
4 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER)
5 #define THREAD_MASK (THREAD_SIZE - 1UL)
6
7 +#if 0
8 #define __HAVE_ARCH_THREAD_INFO_ALLOCATOR
9
10 #ifdef CONFIG_DEBUG_STACK_USAGE
11 @@ -92,6 +93,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