summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/template/usb_template_modem.c
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2011-06-23 04:35:45 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2011-06-23 04:35:45 +0000
commit6d4918e45e29c8527fe3383af8f33ef6ed977e35 (patch)
tree96caa0b0bc52f149e1c9f7b542b967489b0a21e8 /sys/dev/usb/template/usb_template_modem.c
parentb51f0413bb9eea9e7f306823369257ccace21801 (diff)
downloadFreeBSD-src-6d4918e45e29c8527fe3383af8f33ef6ed977e35.zip
FreeBSD-src-6d4918e45e29c8527fe3383af8f33ef6ed977e35.tar.gz
Use atomic operations to mask and unmask IRQs. This prevents a problem
(obvious in retrospect) in which interrupts on one CPU that are temporarily masked can end up permanently masked when a handler on another CPU clobbers the interrupt mask register with an old copy.
Diffstat (limited to 'sys/dev/usb/template/usb_template_modem.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud