Commit ba32f4b0 authored by Christophe Leroy's avatar Christophe Leroy Committed by Michael Ellerman
Browse files

powerpc/process: Remove unneccessary #ifdef CONFIG_PPC64 in copy_thread_tls()

parent 72c4ebba
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1634,11 +1634,9 @@ int copy_thread_tls(unsigned long clone_flags, unsigned long usp,
		p->thread.regs = childregs;
		childregs->gpr[3] = 0;  /* Result from fork() */
		if (clone_flags & CLONE_SETTLS) {
#ifdef CONFIG_PPC64
			if (!is_32bit_task())
				childregs->gpr[13] = tls;
			else
#endif
				childregs->gpr[2] = tls;
		}