summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ne_pci.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2011-06-06 13:19:30 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2011-06-06 13:19:30 +0000
commitb97269c7302cd15ad50a2953cac973299c02e3c2 (patch)
tree61648d7c24ab26f0ac3dfa1bcc9a4feecef20271 /sys/dev/pci/if_ne_pci.c
parent7cfef195cbdc64bb24b5240b10ab25498d49cb73 (diff)
Set FEF bit in the %fprs register when handling an fp_disabled trap from
userland. Prevents userland applications from trapping forever on the next floating point instruction executed after clearing this flag. Fixes issues with threaded applications, sinc our pthreads library clears the FEF bit under some circumstances. ok miod@, tested by ajacoutot@
Diffstat (limited to 'sys/dev/pci/if_ne_pci.c')
0 files changed, 0 insertions, 0 deletions