sh: Add missing task_user_regset_view() definition.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 12 Sep 2008 13:42:43 +0000 (22:42 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 12 Sep 2008 13:42:43 +0000 (22:42 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/ptrace_32.c

index 20b103f6c33ba73e885c18e7794d89be2f276c7f..92fe2034f74ae27bf787c12161eaac882b23026b 100644 (file)
@@ -224,6 +224,11 @@ static const struct user_regset_view user_sh_native_view = {
        .n              = ARRAY_SIZE(sh_regsets),
 };
 
+const struct user_regset_view *task_user_regset_view(struct task_struct *task)
+{
+       return &user_sh_native_view;
+}
+
 long arch_ptrace(struct task_struct *child, long request, long addr, long data)
 {
        struct user * dummy = NULL;