aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/process.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c
index 0e613e7e7b5..3004d716539 100644
--- a/arch/x86/kernel/process.c
+++ b/arch/x86/kernel/process.c
@@ -29,11 +29,10 @@ void free_thread_xstate(struct task_struct *tsk)
}
}
-
void free_thread_info(struct thread_info *ti)
{
free_thread_xstate(ti->task);
- free_pages((unsigned long)(ti), get_order(THREAD_SIZE));
+ free_pages((unsigned long)ti, get_order(THREAD_SIZE));
}
void arch_task_cache_init(void)