aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/signal.c')
-rw-r--r--arch/x86/kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c
index b9e00e8f1c9b..4cdc0b27ec82 100644
--- a/arch/x86/kernel/signal.c
+++ b/arch/x86/kernel/signal.c
@@ -787,7 +787,7 @@ static inline unsigned long get_nr_restart_syscall(const struct pt_regs *regs)
787 * than the tracee. 787 * than the tracee.
788 */ 788 */
789#ifdef CONFIG_IA32_EMULATION 789#ifdef CONFIG_IA32_EMULATION
790 if (current->thread.status & (TS_COMPAT|TS_I386_REGS_POKED)) 790 if (current_thread_info()->status & (TS_COMPAT|TS_I386_REGS_POKED))
791 return __NR_ia32_restart_syscall; 791 return __NR_ia32_restart_syscall;
792#endif 792#endif
793#ifdef CONFIG_X86_X32_ABI 793#ifdef CONFIG_X86_X32_ABI