PowerPC: Move powerpc code out of nptl/ subdirectory

Message ID 539AE0AE.10505@linux.vnet.ibm.com
State Superseded
Headers

Commit Message

Adhemerval Zanella Netto June 13, 2014, 11:29 a.m. UTC
  On 12-06-2014 13:41, Roland McGrath wrote:
>> The idea is just:
>>
>> #       renamed:    nptl/sysdeps/powerpc/Makefile -> sysdeps/powerpc/nptl/*/Makefile
> The /*/ is bizarre.
>
My bad, this is the correct patch:
  

Comments

Roland McGrath June 13, 2014, 11:42 p.m. UTC | #1
> 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
  

Patch

diff --git a/nptl/sysdeps/powerpc/Makefile b/sysdeps/powerpc/nptl/powerpc/Makefile
similarity index 100%
rename from nptl/sysdeps/powerpc/Makefile
rename to sysdeps/powerpc/nptl/powerpc/Makefile
diff --git a/nptl/sysdeps/powerpc/pthread_spin_lock.c b/sysdeps/powerpc/nptl/powerpc/pthread_spin_lock.c
similarity index 100%
rename from nptl/sysdeps/powerpc/pthread_spin_lock.c
rename to 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
similarity index 100%
rename from nptl/sysdeps/powerpc/pthread_spin_trylock.c
rename to sysdeps/powerpc/nptl/powerpc/pthread_spin_trylock.c
diff --git a/nptl/sysdeps/powerpc/pthreaddef.h b/sysdeps/powerpc/nptl/powerpc/pthreaddef.h
similarity index 100%
rename from nptl/sysdeps/powerpc/pthreaddef.h
rename to sysdeps/powerpc/nptl/powerpc/pthreaddef.h
diff --git a/nptl/sysdeps/powerpc/tcb-offsets.sym b/sysdeps/powerpc/nptl/powerpc/tcb-offsets.sym
similarity index 100%
rename from nptl/sysdeps/powerpc/tcb-offsets.sym
rename to sysdeps/powerpc/nptl/powerpc/tcb-offsets.sym
diff --git a/nptl/sysdeps/powerpc/tls.h b/sysdeps/powerpc/nptl/powerpc/tls.h
similarity index 100%
rename from nptl/sysdeps/powerpc/tls.h
rename to sysdeps/powerpc/nptl/powerpc/tls.h