PowerPC: Move powerpc code out of nptl/ subdirectory

Message ID 539C5A95.4000601@linux.vnet.ibm.com
State Committed
Headers

Commit Message

Adhemerval Zanella Netto June 14, 2014, 2:22 p.m. UTC
  On 13-06-2014 20:42, Roland McGrath wrote:
>> diff --git a/nptl/sysdeps/powerpc/Makefile b/sysdeps/powerpc/nptl/powerpc/Makefile
>> diff --git a/nptl/sysdeps/powerpc/pthread_spin_lock.c b/sysdeps/powerpc/nptl/powerpc/pthread_spin_lock.c
>> diff --git a/nptl/sysdeps/powerpc/pthread_spin_trylock.c b/sysdeps/powerpc/nptl/powerpc/pthread_spin_trylock.c
>> diff --git a/nptl/sysdeps/powerpc/pthreaddef.h b/sysdeps/powerpc/nptl/powerpc/pthreaddef.h
>> diff --git a/nptl/sysdeps/powerpc/tcb-offsets.sym b/sysdeps/powerpc/nptl/powerpc/tcb-offsets.sym
>> diff --git a/nptl/sysdeps/powerpc/tls.h b/sysdeps/powerpc/nptl/powerpc/tls.h
> Sorry, I think this is wrong again.  Those files should be in
> sysdeps/powerpc/nptl/.  There should not be a directory called
> sysdeps/powerpc/nptl/powerpc/ at all.  All it actually takes is:
> 	rm -rf sysdeps/powerpc/nptl # just in case a bogon exists there
> 	git mv nptl/sysdeps/powerpc sysdeps/powerpc/nptl
>
>
> Thanks,
> Roland
>
It is and I apologize for sending bogus patches, I think here it is the correct version:
  

Comments

Roland McGrath June 16, 2014, 10:26 p.m. UTC | #1
It looks right to me.  But of course I assume you will have tested anything
you commit.
  
Adhemerval Zanella Netto June 17, 2014, 1:07 p.m. UTC | #2
On 16-06-2014 19:26, Roland McGrath wrote:
> It looks right to me.  But of course I assume you will have tested anything
> you commit.
>
Thanks, I checked on powerpc32be and powerp64be.
  

Patch

diff --git a/nptl/sysdeps/powerpc/Makefile b/sysdeps/powerpc/nptl/Makefile
similarity index 100%
rename from nptl/sysdeps/powerpc/Makefile
rename to sysdeps/powerpc/nptl/Makefile
diff --git a/nptl/sysdeps/powerpc/pthread_spin_lock.c b/sysdeps/powerpc/nptl/pthread_spin_lock.c
similarity index 100%
rename from nptl/sysdeps/powerpc/pthread_spin_lock.c
rename to sysdeps/powerpc/nptl/pthread_spin_lock.c
diff --git a/nptl/sysdeps/powerpc/pthread_spin_trylock.c b/sysdeps/powerpc/nptl/pthread_spin_trylock.c
similarity index 100%
rename from nptl/sysdeps/powerpc/pthread_spin_trylock.c
rename to sysdeps/powerpc/nptl/pthread_spin_trylock.c
diff --git a/nptl/sysdeps/powerpc/pthreaddef.h b/sysdeps/powerpc/nptl/pthreaddef.h
similarity index 100%
rename from nptl/sysdeps/powerpc/pthreaddef.h
rename to sysdeps/powerpc/nptl/pthreaddef.h
diff --git a/nptl/sysdeps/powerpc/tcb-offsets.sym b/sysdeps/powerpc/nptl/tcb-offsets.sym
similarity index 100%
rename from nptl/sysdeps/powerpc/tcb-offsets.sym
rename to sysdeps/powerpc/nptl/tcb-offsets.sym
diff --git a/nptl/sysdeps/powerpc/tls.h b/sysdeps/powerpc/nptl/tls.h
similarity index 100%
rename from nptl/sysdeps/powerpc/tls.h
rename to sysdeps/powerpc/nptl/tls.h