]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] FPU context corrupted after resume
authorShaohua Li <shaohua.li@intel.com>
Sun, 30 Oct 2005 22:59:28 +0000 (14:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:11 +0000 (17:37 -0800)
commit2043f50b15c8dbf99fe9777c4248e6fec32324f0
tree7277fe5fee546f5d94debfc479f81bdc4af895a4
parentb4514cf2526ed77f22d322992fcd7c48b4c97cf4
[PATCH] FPU context corrupted after resume

mxcsr_feature_mask_init isn't needed in suspend/resume time (we can use
boot time mask).  And actually it's harmful, as it clear task's saved
fxsave in resume.  This bug is widely seen by users using zsh.

(akpm: my eyes.  Fixed some surrounding whitespace mess)

Signed-off-by: Shaohua Li<shaohua.li@intel.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/power/cpu.c
arch/x86_64/kernel/suspend.c