aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/process_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/process_64.c')
-rw-r--r--arch/x86/kernel/process_64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c
index 31b4755369f0..0e0b4288a4b2 100644
--- a/arch/x86/kernel/process_64.c
+++ b/arch/x86/kernel/process_64.c
@@ -701,10 +701,10 @@ static void __set_personality_x32(void)
701 current->mm->context.ia32_compat = TIF_X32; 701 current->mm->context.ia32_compat = TIF_X32;
702 current->personality &= ~READ_IMPLIES_EXEC; 702 current->personality &= ~READ_IMPLIES_EXEC;
703 /* 703 /*
704 * in_compat_syscall() uses the presence of the x32 syscall bit 704 * in_32bit_syscall() uses the presence of the x32 syscall bit
705 * flag to determine compat status. The x86 mmap() code relies on 705 * flag to determine compat status. The x86 mmap() code relies on
706 * the syscall bitness so set x32 syscall bit right here to make 706 * the syscall bitness so set x32 syscall bit right here to make
707 * in_compat_syscall() work during exec(). 707 * in_32bit_syscall() work during exec().
708 * 708 *
709 * Pretend to come from a x32 execve. 709 * Pretend to come from a x32 execve.
710 */ 710 */