diff options
| -rw-r--r-- | kernel/fork.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 37b9439b8c07..4a7ec0c6c88c 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
| @@ -183,13 +183,13 @@ static inline void free_thread_stack(unsigned long *stack) | |||
| 183 | # else | 183 | # else |
| 184 | static struct kmem_cache *thread_stack_cache; | 184 | static struct kmem_cache *thread_stack_cache; |
| 185 | 185 | ||
| 186 | static struct thread_info *alloc_thread_stack_node(struct task_struct *tsk, | 186 | static unsigned long *alloc_thread_stack_node(struct task_struct *tsk, |
| 187 | int node) | 187 | int node) |
| 188 | { | 188 | { |
| 189 | return kmem_cache_alloc_node(thread_stack_cache, THREADINFO_GFP, node); | 189 | return kmem_cache_alloc_node(thread_stack_cache, THREADINFO_GFP, node); |
| 190 | } | 190 | } |
| 191 | 191 | ||
| 192 | static void free_stack(unsigned long *stack) | 192 | static void free_thread_stack(unsigned long *stack) |
| 193 | { | 193 | { |
| 194 | kmem_cache_free(thread_stack_cache, stack); | 194 | kmem_cache_free(thread_stack_cache, stack); |
| 195 | } | 195 | } |
