Commit ba69655f authored by Heiko Carstens's avatar Heiko Carstens Committed by Alexander Gordeev

s390/ptrace: remove leftover comment

The code which validates floating point control register contents was
reworked with commit 70264424 ("s390/fpu: get rid of test_fp_ctl()").

There is still a comment which refers to the old implementation - remove it
in order to avoid confusion.
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
parent 74ca8961
...@@ -917,7 +917,6 @@ static int s390_fpregs_set(struct task_struct *target, ...@@ -917,7 +917,6 @@ static int s390_fpregs_set(struct task_struct *target,
else else
memcpy(&fprs, target->thread.fpu.fprs, sizeof(fprs)); memcpy(&fprs, target->thread.fpu.fprs, sizeof(fprs));
/* If setting FPC, must validate it first. */
if (count > 0 && pos < offsetof(s390_fp_regs, fprs)) { if (count > 0 && pos < offsetof(s390_fp_regs, fprs)) {
u32 ufpc[2] = { target->thread.fpu.fpc, 0 }; u32 ufpc[2] = { target->thread.fpu.fpc, 0 };
rc = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ufpc, rc = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ufpc,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment