diff options
Diffstat (limited to 'include/asm-ppc64/thread_info.h')
-rw-r--r-- | include/asm-ppc64/thread_info.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-ppc64/thread_info.h b/include/asm-ppc64/thread_info.h index 0494df6fca7..71244d8a427 100644 --- a/include/asm-ppc64/thread_info.h +++ b/include/asm-ppc64/thread_info.h @@ -54,9 +54,9 @@ struct thread_info { /* thread information allocation */ -#define THREAD_ORDER 2 -#define THREAD_SIZE (PAGE_SIZE << THREAD_ORDER) -#define THREAD_SHIFT (PAGE_SHIFT + THREAD_ORDER) +#define THREAD_SHIFT 14 +#define THREAD_ORDER (THREAD_SHIFT - PAGE_SHIFT) +#define THREAD_SIZE (1 << THREAD_SHIFT) #ifdef CONFIG_DEBUG_STACK_USAGE #define alloc_thread_info(tsk) \ ({ \ |