aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2008-10-11 11:18:57 -0400
committerRalf Baechle <ralf@linux-mips.org>2008-10-11 11:18:57 -0400
commitd302d05cf4d25f4fbbec0f9338fac13ee0c0ad89 (patch)
treedc6b20baecd16e0102bcc95d58dd9bb22ed15462 /arch
parent0926bf953ee79b8f139741b442e5a18520f81705 (diff)
MIPS: Move ptrace prototypes to ptrace.h
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/include/asm/ptrace.h6
-rw-r--r--arch/mips/kernel/ptrace32.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/arch/mips/include/asm/ptrace.h b/arch/mips/include/asm/ptrace.h
index cd5e8a47812b..9c22571b160d 100644
--- a/arch/mips/include/asm/ptrace.h
+++ b/arch/mips/include/asm/ptrace.h
@@ -120,6 +120,12 @@ struct pt_watch_regs {
120 120
121struct task_struct; 121struct task_struct;
122 122
123extern int ptrace_getregs(struct task_struct *child, __s64 __user *data);
124extern int ptrace_setregs(struct task_struct *child, __s64 __user *data);
125
126extern int ptrace_getfpregs(struct task_struct *child, __u32 __user *data);
127extern int ptrace_setfpregs(struct task_struct *child, __u32 __user *data);
128
123extern int ptrace_get_watch_regs(struct task_struct *child, 129extern int ptrace_get_watch_regs(struct task_struct *child,
124 struct pt_watch_regs __user *addr); 130 struct pt_watch_regs __user *addr);
125extern int ptrace_set_watch_regs(struct task_struct *child, 131extern int ptrace_set_watch_regs(struct task_struct *child,
diff --git a/arch/mips/kernel/ptrace32.c b/arch/mips/kernel/ptrace32.c
index e45105e3ef00..1ca34104e593 100644
--- a/arch/mips/kernel/ptrace32.c
+++ b/arch/mips/kernel/ptrace32.c
@@ -37,12 +37,6 @@
37#include <asm/uaccess.h> 37#include <asm/uaccess.h>
38#include <asm/bootinfo.h> 38#include <asm/bootinfo.h>
39 39
40int ptrace_getregs(struct task_struct *child, __s64 __user *data);
41int ptrace_setregs(struct task_struct *child, __s64 __user *data);
42
43int ptrace_getfpregs(struct task_struct *child, __u32 __user *data);
44int ptrace_setfpregs(struct task_struct *child, __u32 __user *data);
45
46/* 40/*
47 * Tracing a 32-bit process with a 64-bit strace and vice versa will not 41 * Tracing a 32-bit process with a 64-bit strace and vice versa will not
48 * work. I don't know how to fix this. 42 * work. I don't know how to fix this.