From: Suresh Siddha Date: Fri, 1 Jul 2011 00:19:32 +0000 (-0700) Subject: x86-32, fpu: Fix DNA exception during check_fpu() X-Git-Tag: v3.1-rc1~276^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e7cf5b00dd5b577b4ee9b2a66e40fb670ef210b;p=pandora-kernel.git x86-32, fpu: Fix DNA exception during check_fpu() Before check_fpu() is called, we have cr0.TS bit set and hence the floating point code to check the FDIV bug was generating a DNA exception. Use kernel_fpu_begin()/kernel_fpu_end() around the floating point code to avoid this unnecessary device not available exception during boot. Signed-off-by: Suresh Siddha Link: http://lkml.kernel.org/r/1309479572.2665.1372.camel@sbsiddha-MOBL3.sc.intel.com Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed