]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: ptrace: Test correct task's flags in task_user_regset_view()
authorAlex Smith <alex@alex-smith.me.uk>
Wed, 23 Jul 2014 13:40:07 +0000 (14:40 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 30 Jul 2014 21:27:34 +0000 (23:27 +0200)
commit98c8845c60aad72e9594d8f06e560a6366bf619f
tree8b1b1b096656cb461de9704e2bd328b713cc6014
parent2a91b7051c491651cf3b91ddeab289c2e179d760
MIPS: ptrace: Test correct task's flags in task_user_regset_view()

task_user_regset_view() should test for TIF_32BIT_REGS in the flags of
the specified task, not of the current task.

Signed-off-by: Alex Smith <alex@alex-smith.me.uk>
Cc: <stable@vger.kernel.org> # v3.13+
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7450/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/ptrace.c