diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-26 15:43:08 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-26 15:43:08 (GMT) |
commit | dfa4a423cf80afe8f81a36d8e663961c4acca343 (patch) | |
tree | 1ac7fa67256148b8fd8360d4d465e945800bb9df /arch/x86/kernel | |
parent | 7b86572a7a920e3181b041b8d1a01582e4610b66 (diff) | |
parent | 7e49b1c8c6d64f55ac83e1f5901b22fa9e51ab80 (diff) | |
download | linux-dfa4a423cf80afe8f81a36d8e663961c4acca343.tar.xz |
Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
* 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86-64, unistd: Remove bogus __IGNORE_getcpu
x86, mm, trivial: Remove unnecessary get_order() in free_thread_info()
x86, cleanup: Remove unneeded version.h include from arch/x86/
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index e7e3b01..b9b3b1a 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c @@ -49,7 +49,7 @@ 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, THREAD_ORDER); } void arch_task_cache_init(void) |