]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sh/kernel/ptrace_32.c
Merge branch 'omap-pool'
[linux-2.6-omap-h63xx.git] / arch / sh / kernel / ptrace_32.c
index 29ca09d24ef855b54c5e6bd431a01fd83e96cd0b..f7b22dd83b0c125ada90571539eda06530d04613 100644 (file)
@@ -200,7 +200,8 @@ static int dspregs_get(struct task_struct *target,
                       unsigned int pos, unsigned int count,
                       void *kbuf, void __user *ubuf)
 {
-       const struct pt_dspregs *regs = task_pt_dspregs(target);
+       const struct pt_dspregs *regs =
+               (struct pt_dspregs *)&target->thread.dsp_status.dsp_regs;
        int ret;
 
        ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, regs,
@@ -217,7 +218,8 @@ static int dspregs_set(struct task_struct *target,
                       unsigned int pos, unsigned int count,
                       const void *kbuf, const void __user *ubuf)
 {
-       struct pt_dspregs *regs = task_pt_dspregs(target);
+       struct pt_dspregs *regs =
+               (struct pt_dspregs *)&target->thread.dsp_status.dsp_regs;
        int ret;
 
        ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, regs,