]> Zhao Yanbai Git Server - minix.git/commit
enable_fpu_exception() - only write cr0 if bit isn't already on.
authorBen Gras <ben@minix3.org>
Wed, 22 Sep 2010 14:31:06 +0000 (14:31 +0000)
committerBen Gras <ben@minix3.org>
Wed, 22 Sep 2010 14:31:06 +0000 (14:31 +0000)
commit82d576c9ca471b4c4fe33969604a245ec06c845b
treef69cb34afd45a675345bcc551cf9ec43c5d315c2
parentb0572bfd1e5a19d0c91d8830f009e1319e6ceb58
enable_fpu_exception() - only write cr0 if bit isn't already on.

(NMI profiling results indicate this both is relatively expensive and
happens a lot unnecessarily if the fpu is in use.)
kernel/arch/i386/exception.c