From: Suresh Siddha Date: Fri, 24 Aug 2012 21:12:57 +0000 (-0700) Subject: x86, fpu: drop_fpu() before restoring new state from sigframe X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~86^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e962591749dfd4df9fea2c530ed7a3cfed50e5aa;p=pandora-kernel.git x86, fpu: drop_fpu() before restoring new state from sigframe No need to save the state with unlazy_fpu(), that is about to get overwritten by the state from the signal frame. Instead use drop_fpu() and continue to restore the new state. Also fold the stop_fpu_preload() into drop_fpu(). Signed-off-by: Suresh Siddha Link: http://lkml.kernel.org/r/1345842782-24175-2-git-send-email-suresh.b.siddha@intel.com Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed