[PATCH] mips: clean up 32/64-bit configuration
Start cleaning 32-bit vs. 64-bit configuration. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
63fb6fd1c8
commit
875d43e72b
@@ -62,10 +62,10 @@ register struct thread_info *__current_thread_info __asm__("$28");
|
||||
#define current_thread_info() __current_thread_info
|
||||
|
||||
/* thread information allocation */
|
||||
#if defined(CONFIG_PAGE_SIZE_4KB) && defined(CONFIG_MIPS32)
|
||||
#if defined(CONFIG_PAGE_SIZE_4KB) && defined(CONFIG_32BIT)
|
||||
#define THREAD_SIZE_ORDER (1)
|
||||
#endif
|
||||
#if defined(CONFIG_PAGE_SIZE_4KB) && defined(CONFIG_MIPS64)
|
||||
#if defined(CONFIG_PAGE_SIZE_4KB) && defined(CONFIG_64BIT)
|
||||
#define THREAD_SIZE_ORDER (2)
|
||||
#endif
|
||||
#ifdef CONFIG_PAGE_SIZE_8KB
|
||||
|
Reference in New Issue
Block a user