summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_socket2.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-06-17 12:50:22 +0000
committerbde <bde@FreeBSD.org>1996-06-17 12:50:22 +0000
commitab552bbee7d360284da684e84cef05f4e5f242a7 (patch)
tree5896a9d86f514fcad8744e68e87f7c0751ba84e6 /sys/kern/uipc_socket2.c
parent501044728620e5a296b82f0ab2bae44a27b2d661 (diff)
downloadFreeBSD-src-ab552bbee7d360284da684e84cef05f4e5f242a7.zip
FreeBSD-src-ab552bbee7d360284da684e84cef05f4e5f242a7.tar.gz
In getit(), use read_eflags()/write_eflags() to preserve the interrupt
enable flag instead of enable_intr() to restore it to its usual state. getit() is only called from DELAY() so there is no point in optimising its speed (this wasn't so clear when it was extern), and using enable_intr() made it inconvenient to call DELAY() from probes that need to run with interrupts disabled.
Diffstat (limited to 'sys/kern/uipc_socket2.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud