ARM: S3C2410: H1940: Add battery support
[cascardo/linux.git] / arch / um / sys-x86_64 / tls.c
index febbc94..f7ba462 100644 (file)
@@ -11,7 +11,7 @@ int arch_copy_tls(struct task_struct *t)
         * (which is argument 5, child_tid, of clone) so it can be set
         * during context switches.
         */
-       t->thread.arch.fs = t->thread.regs.regs.skas.regs[R8 / sizeof(long)];
+       t->thread.arch.fs = t->thread.regs.regs.gp[R8 / sizeof(long)];
 
-        return 0;
+       return 0;
 }