Commit 7208d2ce authored by David S. Miller's avatar David S. Miller

Merge bk://kernel.bkbits.net/wesolows/sparc32-2.6

into nuts.davemloft.net:/disk1/BK/sparc-2.6
parents 89bae966 6e3eae38
...@@ -632,6 +632,7 @@ struct thread_info *srmmu_alloc_thread_info(void) ...@@ -632,6 +632,7 @@ struct thread_info *srmmu_alloc_thread_info(void)
ret = (struct thread_info *)__get_free_pages(GFP_KERNEL, ret = (struct thread_info *)__get_free_pages(GFP_KERNEL,
THREAD_INFO_ORDER); THREAD_INFO_ORDER);
#ifdef CONFIG_DEBUG_STACK_USAGE #ifdef CONFIG_DEBUG_STACK_USAGE
if (ret)
memset(ret, 0, PAGE_SIZE << THREAD_INFO_ORDER); memset(ret, 0, PAGE_SIZE << THREAD_INFO_ORDER);
#endif /* DEBUG_STACK_USAGE */ #endif /* DEBUG_STACK_USAGE */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment