diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-09-12 15:42:43 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-09-12 15:42:43 +0200 |
commit | f9540ececaa2cf94b6760741c82f25097e662383 (patch) | |
tree | ead23d58b04068b35fe252c78c0d793a7ed69141 /arch/sh/kernel | |
parent | sh: Add DSP registers to regset interface. (diff) | |
download | linux-f9540ececaa2cf94b6760741c82f25097e662383.tar.xz linux-f9540ececaa2cf94b6760741c82f25097e662383.zip |
sh: Add missing task_user_regset_view() definition.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r-- | arch/sh/kernel/ptrace_32.c | 5 |
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 = { .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; |