x86, fpu: Merge tolerant_fwait()
authorBrian Gerst <brgerst@gmail.com>
Sat, 4 Sep 2010 01:17:10 +0000 (21:17 -0400)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 9 Sep 2010 21:16:25 +0000 (14:16 -0700)
commit51115d4d45700fc7c08306f7ba6e68551f526ae5
tree7bc7321d8840089519df3892a3187b53a9ba3bb2
parent6ac8bac2684235f4caf22a410549c582aa7327d6
x86, fpu: Merge tolerant_fwait()

Commit e2e75c91 merged the math exception handler, allowing both 32-bit
and 64-bit to handle math exceptions from kernel mode.  Switch to using
the 64-bit version of tolerant_fwait() without fnclex, which simply
ignores the exception if one is still pending from userspace.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Acked-by: Pekka Enberg <penberg@kernel.org>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
LKML-Reference: <1283563039-3466-4-git-send-email-brgerst@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/i387.h