diff options
Diffstat (limited to 'arch/x86/kernel/process_64.c')
-rw-r--r-- | arch/x86/kernel/process_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index c75466232016..9eb448c7859d 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c | |||
@@ -557,7 +557,7 @@ static void __set_personality_x32(void) | |||
557 | * Pretend to come from a x32 execve. | 557 | * Pretend to come from a x32 execve. |
558 | */ | 558 | */ |
559 | task_pt_regs(current)->orig_ax = __NR_x32_execve | __X32_SYSCALL_BIT; | 559 | task_pt_regs(current)->orig_ax = __NR_x32_execve | __X32_SYSCALL_BIT; |
560 | current->thread.status &= ~TS_COMPAT; | 560 | current_thread_info()->status &= ~TS_COMPAT; |
561 | #endif | 561 | #endif |
562 | } | 562 | } |
563 | 563 | ||
@@ -571,7 +571,7 @@ static void __set_personality_ia32(void) | |||
571 | current->personality |= force_personality32; | 571 | current->personality |= force_personality32; |
572 | /* Prepare the first "return" to user space */ | 572 | /* Prepare the first "return" to user space */ |
573 | task_pt_regs(current)->orig_ax = __NR_ia32_execve; | 573 | task_pt_regs(current)->orig_ax = __NR_ia32_execve; |
574 | current->thread.status |= TS_COMPAT; | 574 | current_thread_info()->status |= TS_COMPAT; |
575 | #endif | 575 | #endif |
576 | } | 576 | } |
577 | 577 | ||