PowerPC: Move powerpc code out of nptl/ subdirectory
diff mbox

Message ID 5399C285.6080900@linux.vnet.ibm.com
State New
Headers show

Commit Message

Adhemerval Zanella June 12, 2014, 3:08 p.m. UTC
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

Andreas Schwab June 12, 2014, 3:15 p.m. UTC | #1
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.
Adhemerval Zanella June 12, 2014, 4:23 p.m. UTC | #2
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
Roland McGrath June 12, 2014, 4:41 p.m. UTC | #3
> The idea is just:
> 
> #       renamed:    nptl/sysdeps/powerpc/Makefile -> sysdeps/powerpc/nptl/*/Makefile

The /*/ is bizarre.

Patch
diff mbox

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