summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/sys_x86_64.c
diff options
context:
space:
mode:
authorYuanhan Liu2012-12-17 10:42:56 +0100
committerIngo Molnar2013-01-24 16:22:10 +0100
commite3e81aca8d51a50e19d6c67fafc4c9c4f0404bf1 (patch)
tree0a9d09833177aa9e0053ccc873135ffee1808e2a /arch/x86/kernel/sys_x86_64.c
parentx86/mm: Fix the argument passed to sync_global_pgds() (diff)
downloadkernel-qcow2-linux-e3e81aca8d51a50e19d6c67fafc4c9c4f0404bf1.tar.gz
kernel-qcow2-linux-e3e81aca8d51a50e19d6c67fafc4c9c4f0404bf1.tar.xz
kernel-qcow2-linux-e3e81aca8d51a50e19d6c67fafc4c9c4f0404bf1.zip
x86: Fix a typo
legact -> legacy Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/sys_x86_64.c')
-rw-r--r--arch/x86/kernel/sys_x86_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/sys_x86_64.c b/arch/x86/kernel/sys_x86_64.c
index 97ef74b88e0f..dbded5aedb81 100644
--- a/arch/x86/kernel/sys_x86_64.c
+++ b/arch/x86/kernel/sys_x86_64.c
@@ -157,7 +157,7 @@ arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0,
if (flags & MAP_FIXED)
return addr;
- /* for MAP_32BIT mappings we force the legact mmap base */
+ /* for MAP_32BIT mappings we force the legacy mmap base */
if (!test_thread_flag(TIF_ADDR32) && (flags & MAP_32BIT))
goto bottomup;