arch/powerpc/kernel/ptrace-ppc32.h
0 → 100644
+100
−0
arch/powerpc/kernel/ptrace-ppc64.h
0 → 100644
+51
−0
+4
−194
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The powerpc ptrace code has some weirdness, like a ptrace-common.h file that is actually ppc64 only and some of the 32 bits code ifdef'ed inside ptrace.c. There are also separate implementations for things like get/set_vrregs for 32 and 64 bits which is totally unnecessary. This patch cleans that up a bit by having a ptrace-common.h which contains really common code (and makes a lot more code common), and ptrace-ppc32.h and ptrace-ppc64.h files that contain the few remaining different bits. Signed-off-by:Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by:
Paul Mackerras <paulus@samba.org>