WSL2-Linux-Kernel/arch/powerpc
Kumar Gala 0ee6c15e7b [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>
2007-08-28 21:15:53 -05:00
..
boot Merge branch 'fixes-2.6.23' of git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc 2007-08-20 22:43:18 -07:00
configs [POWERPC] cell: Update cell_defconfig for 2.6.23 2007-08-25 16:58:27 +10:00
kernel [POWERPC] Flush registers to proper task context 2007-08-28 21:15:53 -05:00
lib Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm [POWERPC] Fix SLB initialization at boot time 2007-08-25 16:58:43 +10:00
oprofile Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
platforms [POWERPC] cell: Support pinhole-reset on IBM cell blades 2007-08-25 16:58:26 +10:00
sysdev [POWERPC] axonram: Do not delete gendisks queue in error path 2007-08-25 16:58:27 +10:00
xmon [POWERPC] fix showing xmon help 2007-07-22 21:30:58 +10:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
Kconfig.debug Replace CONFIG_SOFTWARE_SUSPEND with CONFIG_HIBERNATION 2007-07-29 16:45:38 -07:00
Makefile Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2007-07-19 14:28:19 -07:00