Skip to content

Commit

Permalink
sh: Add missing task_user_regset_view() definition.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Sep 12, 2008
1 parent 5dadb34 commit f9540ec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/sh/kernel/ptrace_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f9540ec

Please sign in to comment.