summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_hibernate.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2013-01-17 02:44:42 +0000
committerdlg <dlg@openbsd.org>2013-01-17 02:44:42 +0000
commit5d65ecc70a68ecf66430f0468743af605e2325ac (patch)
tree7ff307774fd28557b262e3f563d1a4d75ca1720b /sys/kern/subr_hibernate.c
parentConvert softraid concat to the new ccb functions. (diff)
downloadwireguard-openbsd-5d65ecc70a68ecf66430f0468743af605e2325ac.tar.xz
wireguard-openbsd-5d65ecc70a68ecf66430f0468743af605e2325ac.zip
we dont need to read the interrupt status register to know if we have
any work to do in the interrupt handler, or to clear it. the relevant bits indicate whether there's work on the doorbell and clear when there isnt. we need to read the doorbell if there is work to do, so lets just go that straight away anyway. get rid of bus_space_barriers in the io path. barriers are for enforcing ordering. the doorbell reads and writes dont depend on any other register values so ordering isnt applicable here.
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions