summaryrefslogtreecommitdiffstats
path: root/include/asm-s390/thread_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-s390/thread_info.h')
-rw-r--r--include/asm-s390/thread_info.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/asm-s390/thread_info.h b/include/asm-s390/thread_info.h
index 99bbed9..91a8f93 100644
--- a/include/asm-s390/thread_info.h
+++ b/include/asm-s390/thread_info.h
@@ -78,10 +78,7 @@ static inline struct thread_info *current_thread_info(void)
return (struct thread_info *)((*(unsigned long *) __LC_KERNEL_STACK)-THREAD_SIZE);
}
-/* thread information allocation */
-#define alloc_thread_info(tsk) ((struct thread_info *) \
- __get_free_pages(GFP_KERNEL,THREAD_ORDER))
-#define free_thread_info(ti) free_pages((unsigned long) (ti),THREAD_ORDER)
+#define THREAD_SIZE_ORDER THREAD_ORDER
#endif
OpenPOWER on IntegriCloud