diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2007-06-04 01:15:44 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-14 08:29:57 -0400 |
commit | 865418d8e78b9c11c964157740b2596d6ffe9dfa (patch) | |
tree | 2ef4b1652fe38c7b9e172ca7a8aef906602d3692 /include | |
parent | e17666ba48f78ff10162d7448e7c92d668d8faf6 (diff) |
[POWERPC] Uninline common ptrace bits
This folds back the ptrace-common.h bits back into ptrace.c and removes
that file. The FSL SPE bits from ptrace-ppc32.h are folded back in as
well.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/ptrace.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-powerpc/ptrace.h b/include/asm-powerpc/ptrace.h index 53d24584e968..13fccc5a4119 100644 --- a/include/asm-powerpc/ptrace.h +++ b/include/asm-powerpc/ptrace.h | |||
@@ -92,6 +92,11 @@ extern unsigned long profile_pc(struct pt_regs *regs); | |||
92 | set_thread_flag(TIF_NOERROR); \ | 92 | set_thread_flag(TIF_NOERROR); \ |
93 | } while(0) | 93 | } while(0) |
94 | 94 | ||
95 | struct task_struct; | ||
96 | extern unsigned long ptrace_get_reg(struct task_struct *task, int regno); | ||
97 | extern int ptrace_put_reg(struct task_struct *task, int regno, | ||
98 | unsigned long data); | ||
99 | |||
95 | /* | 100 | /* |
96 | * We use the least-significant bit of the trap field to indicate | 101 | * We use the least-significant bit of the trap field to indicate |
97 | * whether we have saved the full set of registers, or only a | 102 | * whether we have saved the full set of registers, or only a |