From: Suresh Siddha Date: Wed, 7 May 2008 19:09:52 +0000 (-0700) Subject: x86: fix fpu restore from sig return X-Git-Tag: v2.6.26-rc2~7^2~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd3c3ed5d1e3ceb37635cbe6d220ab94aae0781d;p=pandora-kernel.git x86: fix fpu restore from sig return If the task never used fpu, initialize the fpu before restoring the FP state from the signal handler context. This will allocate the fpu state, if the task never needed it before. Reported-and-bisected-by: Eric Sesterhenn Signed-off-by: Suresh Siddha Tested-by: Eric Sesterhenn Cc: Frederik Deweerdt Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed