PowerPC: Move powerpc code out of nptl/ subdirectory
Commit Message
Similar to x86 cleanup, this patch moves the powerpc out of nptl.
Checked on ppc64be, ppc32pe. OK to commit?
--
* nptl/sysdeps/powerpc/Makefile: Moved ...
* sysdeps/powerpc/nptl/Makefile: ... here.
* nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
* sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
* nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
* sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
* nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
* sysdeps/powerpc/nptl/pthreaddef.h: ... here.
* nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
* sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
* nptl/sysdeps/powerpc/tls.h: Moved ...
* sysdeps/powerpc/nptl/tls.h: ... here.
---
Comments
Adhemerval Zanella <azanella@linux.vnet.ibm.com> writes:
> 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
That doesn't look right.
Andreas.
On 12-06-2014 12:15, Andreas Schwab wrote:
> Adhemerval Zanella <azanella@linux.vnet.ibm.com> writes:
>
>> 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
> That doesn't look right.
>
> Andreas.
>
Hum indeed, I though 'git diff --find-renames' would simplify the patch summary,
but looks like it screw something.
The idea is just:
# renamed: nptl/sysdeps/powerpc/Makefile -> sysdeps/powerpc/nptl/*/Makefile
# renamed: nptl/sysdeps/powerpc/pthread_spin_lock.c -> sysdeps/powerpc/nptl/*/pthread_spin_lock.c
# renamed: nptl/sysdeps/powerpc/pthread_spin_trylock.c -> sysdeps/powerpc/nptl/*/pthread_spin_trylock.c
# renamed: nptl/sysdeps/powerpc/pthreaddef.h -> sysdeps/powerpc/nptl/*/pthreaddef.h
# renamed: nptl/sysdeps/powerpc/tcb-offsets.sym -> sysdeps/powerpc/nptl/*/tcb-offsets.sym
# renamed: nptl/sysdeps/powerpc/tls.h -> sysdeps/powerpc/nptl/*/tls.h
> The idea is just:
>
> # renamed: nptl/sysdeps/powerpc/Makefile -> sysdeps/powerpc/nptl/*/Makefile
The /*/ is bizarre.
similarity index 100%
rename from nptl/sysdeps/powerpc/Makefile
rename to sysdeps/powerpc/nptl/*/Makefile
similarity index 100%
rename from nptl/sysdeps/powerpc/pthread_spin_lock.c
rename to sysdeps/powerpc/nptl/*/pthread_spin_lock.c
similarity index 100%
rename from nptl/sysdeps/powerpc/pthread_spin_trylock.c
rename to sysdeps/powerpc/nptl/*/pthread_spin_trylock.c
similarity index 100%
rename from nptl/sysdeps/powerpc/pthreaddef.h
rename to sysdeps/powerpc/nptl/*/pthreaddef.h
similarity index 100%
rename from nptl/sysdeps/powerpc/tcb-offsets.sym
rename to sysdeps/powerpc/nptl/*/tcb-offsets.sym
similarity index 100%
rename from nptl/sysdeps/powerpc/tls.h
rename to sysdeps/powerpc/nptl/*/tls.h