diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-26 11:43:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-26 11:43:08 -0400 |
commit | dfa4a423cf80afe8f81a36d8e663961c4acca343 (patch) | |
tree | 1ac7fa67256148b8fd8360d4d465e945800bb9df | |
parent | 7b86572a7a920e3181b041b8d1a01582e4610b66 (diff) | |
parent | 7e49b1c8c6d64f55ac83e1f5901b22fa9e51ab80 (diff) |
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/
-rw-r--r-- | arch/x86/include/asm/unistd_64.h | 1 | ||||
-rw-r--r-- | arch/x86/kernel/process.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/include/asm/unistd_64.h b/arch/x86/include/asm/unistd_64.h index 201040573444..0a6ba337a2eb 100644 --- a/arch/x86/include/asm/unistd_64.h +++ b/arch/x86/include/asm/unistd_64.h | |||
@@ -624,7 +624,6 @@ __SYSCALL(__NR_vmsplice, sys_vmsplice) | |||
624 | __SYSCALL(__NR_move_pages, sys_move_pages) | 624 | __SYSCALL(__NR_move_pages, sys_move_pages) |
625 | #define __NR_utimensat 280 | 625 | #define __NR_utimensat 280 |
626 | __SYSCALL(__NR_utimensat, sys_utimensat) | 626 | __SYSCALL(__NR_utimensat, sys_utimensat) |
627 | #define __IGNORE_getcpu /* implemented as a vsyscall */ | ||
628 | #define __NR_epoll_pwait 281 | 627 | #define __NR_epoll_pwait 281 |
629 | __SYSCALL(__NR_epoll_pwait, sys_epoll_pwait) | 628 | __SYSCALL(__NR_epoll_pwait, sys_epoll_pwait) |
630 | #define __NR_signalfd 282 | 629 | #define __NR_signalfd 282 |
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index e7e3b019c439..b9b3b1a51643 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) | |||
49 | void free_thread_info(struct thread_info *ti) | 49 | void free_thread_info(struct thread_info *ti) |
50 | { | 50 | { |
51 | free_thread_xstate(ti->task); | 51 | free_thread_xstate(ti->task); |
52 | free_pages((unsigned long)ti, get_order(THREAD_SIZE)); | 52 | free_pages((unsigned long)ti, THREAD_ORDER); |
53 | } | 53 | } |
54 | 54 | ||
55 | void arch_task_cache_init(void) | 55 | void arch_task_cache_init(void) |