summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuanhan Liu <yuanhan.liu@linux.intel.com>2012-12-17 17:42:56 +0800
committerIngo Molnar <mingo@kernel.org>2013-01-24 16:22:10 +0100
commite3e81aca8d51a50e19d6c67fafc4c9c4f0404bf1 (patch)
tree0a9d09833177aa9e0053ccc873135ffee1808e2a
parentf73568a059c3afd6323a9ee3860938df91252ee4 (diff)
downloadop-kernel-dev-e3e81aca8d51a50e19d6c67fafc4c9c4f0404bf1.zip
op-kernel-dev-e3e81aca8d51a50e19d6c67fafc4c9c4f0404bf1.tar.gz
x86: Fix a typo
legact -> legacy Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
-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 97ef74b..dbded5a 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;
OpenPOWER on IntegriCloud