]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit08967f941ad897b2f7c2f99e886c75d6319e5087
tree7277fe5fee546f5d94debfc479f81bdc4af895a4
parent8896fab35e62aa748a5ce62ac773508e51f10be1
[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