summaryrefslogtreecommitdiffstats
path: root/arch/x86/um/tls_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/um/tls_32.c')
-rw-r--r--arch/x86/um/tls_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/um/tls_32.c b/arch/x86/um/tls_32.c
index c6c7131e563..baba84f8ecb 100644
--- a/arch/x86/um/tls_32.c
+++ b/arch/x86/um/tls_32.c
@@ -219,7 +219,7 @@ int arch_copy_tls(struct task_struct *new)
int idx, ret = -EFAULT;
if (copy_from_user(&info,
- (void __user *) UPT_ESI(&new->thread.regs.regs),
+ (void __user *) UPT_SI(&new->thread.regs.regs),
sizeof(info)))
goto out;