drm/amd/powerplay: incorrectly use of the function return value
[linux-2.6-block.git] / kernel / fork.c
index 37b9439b8c0741df646a0a1517bcbb023c42a845..4a7ec0c6c88c9ea85b2c74c6a749e11533220d44 100644 (file)
@@ -183,13 +183,13 @@ static inline void free_thread_stack(unsigned long *stack)
 # else
 static struct kmem_cache *thread_stack_cache;
 
-static struct thread_info *alloc_thread_stack_node(struct task_struct *tsk,
+static unsigned long *alloc_thread_stack_node(struct task_struct *tsk,
                                                  int node)
 {
        return kmem_cache_alloc_node(thread_stack_cache, THREADINFO_GFP, node);
 }
 
-static void free_stack(unsigned long *stack)
+static void free_thread_stack(unsigned long *stack)
 {
        kmem_cache_free(thread_stack_cache, stack);
 }