• Shaohua Li's avatar
    [PATCH] FPU context corrupted after resume · 08967f94
    Shaohua Li authored
    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: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    08967f94
cpu.c 2.71 KB