aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-09-12 09:42:43 -0400
committerPaul Mundt <lethal@linux-sh.org>2008-09-12 09:42:43 -0400
commitf9540ececaa2cf94b6760741c82f25097e662383 (patch)
treeead23d58b04068b35fe252c78c0d793a7ed69141
parent5dadb34394d59313e2e763ae8e2fc911e9fc557c (diff)
sh: Add missing task_user_regset_view() definition.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/kernel/ptrace_32.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/kernel/ptrace_32.c b/arch/sh/kernel/ptrace_32.c
index 20b103f6c33b..92fe2034f74a 100644
--- a/arch/sh/kernel/ptrace_32.c
+++ b/arch/sh/kernel/ptrace_32.c
@@ -224,6 +224,11 @@ static const struct user_regset_view user_sh_native_view = {
224 .n = ARRAY_SIZE(sh_regsets), 224 .n = ARRAY_SIZE(sh_regsets),
225}; 225};
226 226
227const struct user_regset_view *task_user_regset_view(struct task_struct *task)
228{
229 return &user_sh_native_view;
230}
231
227long arch_ptrace(struct task_struct *child, long request, long addr, long data) 232long arch_ptrace(struct task_struct *child, long request, long addr, long data)
228{ 233{
229 struct user * dummy = NULL; 234 struct user * dummy = NULL;