diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2007-06-04 07:15:41 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-14 14:29:56 +0200 |
commit | acd89828484db6371202f5d292781ae6f832eda2 (patch) | |
tree | dff9b004db1d108ece5154b708b273723907d041 /arch/powerpc/kernel/ptrace32.c | |
parent | [POWERPC] Disable broken PPC_PTRACE_GETFPREGS on 32 bits (diff) | |
download | linux-acd89828484db6371202f5d292781ae6f832eda2.tar.xz linux-acd89828484db6371202f5d292781ae6f832eda2.zip |
[POWERPC] ptrace cleanups
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>
Diffstat (limited to 'arch/powerpc/kernel/ptrace32.c')
-rw-r--r-- | arch/powerpc/kernel/ptrace32.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/ptrace32.c b/arch/powerpc/kernel/ptrace32.c index 9b9a230349bc..1bf1f450e1ab 100644 --- a/arch/powerpc/kernel/ptrace32.c +++ b/arch/powerpc/kernel/ptrace32.c @@ -33,6 +33,7 @@ #include <asm/pgtable.h> #include <asm/system.h> +#include "ptrace-ppc64.h" #include "ptrace-common.h" /* |