summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbdevs.h
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2010-08-19 19:31:53 +0000
committerkettenis <kettenis@openbsd.org>2010-08-19 19:31:53 +0000
commit6cca561c4e5c335b5547da757cc4174c1b207088 (patch)
tree68e5c3ef553bf4e79d7e50b559b16684711276a3 /sys/dev/usb/usbdevs.h
parentDo not call event_del() for signals after fork(), just use sigaction() (diff)
downloadwireguard-openbsd-6cca561c4e5c335b5547da757cc4174c1b207088.tar.xz
wireguard-openbsd-6cca561c4e5c335b5547da757cc4174c1b207088.zip
Add "memory" clobber to lidt inline asm, to prevent the GCC optimizer from
getting stupid ideas like optimizing away stores to the descriptor that we're setting. This may be overkill, but this code is far from performance critical and it may prevent future surprises. Fixes instant reboots with bsd.rd on Pentiums with the F00F bug. Thanks to espie@, for narrowing the issue down enough for me to find the problem. ok deraadt@
Diffstat (limited to 'sys/dev/usb/usbdevs.h')
0 files changed, 0 insertions, 0 deletions