aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/unistd_64.h
diff options
context:
space:
mode:
authorZhao Jin <cronozhj@gmail.com>2011-08-20 21:24:57 +0800
committerIngo Molnar <mingo@elte.hu>2011-08-23 21:49:35 +0200
commitc812d8f7ad27bd5f1ed1c790eea8527b6f8ff1c7 (patch)
tree7be9c47c51411938048666f4a30f9fe0074295b0 /arch/x86/include/asm/unistd_64.h
parentx86, cleanup: Remove unneeded version.h include from arch/x86/ (diff)
downloadlinux-dev-c812d8f7ad27bd5f1ed1c790eea8527b6f8ff1c7.tar.xz
linux-dev-c812d8f7ad27bd5f1ed1c790eea8527b6f8ff1c7.zip
x86, mm, trivial: Remove unnecessary get_order() in free_thread_info()
Because THREAD_SIZE is defined as PAGE_SIZE << THREAD_ORDER on x86, the call of get_order(THREAD_SIZE) can be replaced with THREAD_ORDER. Signed-off-by: Zhao Jin <cronozhj@gmail.com> Link: http://lkml.kernel.org/r/4E4FB5A9.700@gmail.com Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/unistd_64.h')
0 files changed, 0 insertions, 0 deletions