--- include/asm-um/thread_info.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: linux-2.6.25-rc8-mm2/include/asm-um/thread_info.h =================================================================== --- linux-2.6.25-rc8-mm2.orig/include/asm-um/thread_info.h 2008-04-15 22:45:35.373252061 -0700 +++ linux-2.6.25-rc8-mm2/include/asm-um/thread_info.h 2008-04-15 22:46:53.065749931 -0700 @@ -56,18 +56,18 @@ static inline struct thread_info *curren #ifdef CONFIG_DEBUG_STACK_USAGE #define alloc_thread_info(tsk) \ - ((struct thread_info *) __get_free_pages(GFP_KERNEL | __GFP_ZERO, \ + ((struct thread_info *) __alloc_vcompound(GFP_KERNEL | __GFP_ZERO, \ CONFIG_KERNEL_STACK_ORDER)) #else /* thread information allocation */ #define alloc_thread_info(tsk) \ - ((struct thread_info *) __get_free_pages(GFP_KERNEL, \ + ((struct thread_info *) __alloc_vcompound(GFP_KERNEL, \ CONFIG_KERNEL_STACK_ORDER)) #endif #define free_thread_info(ti) \ - free_pages((unsigned long)(ti),CONFIG_KERNEL_STACK_ORDER) + __free_vcompound(ti) #endif