diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2007-08-28 21:15:53 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-08-28 21:15:53 -0500 |
commit | 0ee6c15e7ba7b36a217cdadb292eeaf32a057a59 (patch) | |
tree | 7ce7ee5413086758ebdea9a00f4d5b7d7a8f45ba /arch/powerpc/configs/mpc85xx_cds_defconfig | |
parent | b07d68b5ca4d55a16fab223d63d5fb36f89ff42f (diff) |
[POWERPC] Flush registers to proper task context
When we flush register state for FP, Altivec, or SPE in flush_*_to_thread
we need to respect the task_struct that the caller has passed to us.
Most cases we are called with current, however sometimes (ptrace) we may
be passed a different task_struct.
This showed up when using gdbserver debugging a simple program that used
floating point. When gdb tried to show the FP regs they all showed up as
0, because the child's FP registers were never properly flushed to memory.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/configs/mpc85xx_cds_defconfig')
0 files changed, 0 insertions, 0 deletions