diff options
author | marcel <marcel@FreeBSD.org> | 2007-08-06 05:15:57 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2007-08-06 05:15:57 +0000 |
commit | 5f4b9d20fc4bf36bf86f78bb1622ee474a93dc56 (patch) | |
tree | bc3b97dbb9ae22625f10ee707ffae27ee6d99919 /sys/compat/linux/linux_socket.c | |
parent | 48dc5445bf78e7f34e1a3007881f5bc6eee9f864 (diff) | |
download | FreeBSD-src-5f4b9d20fc4bf36bf86f78bb1622ee474a93dc56.zip FreeBSD-src-5f4b9d20fc4bf36bf86f78bb1622ee474a93dc56.tar.gz |
Clear pending interrupts before we enable external interrupts.
Recently the AP in my Merced box seems to have grown a habit
of getting unexpected interrupts, such as redundant wake-ups
and legacy interrupts that require an INTA cycle.
While here, replace DELAY(0) with cpu_spinwait() so that it's
clear what we're doing as well as enable the code to take
advantage of cpu_spinwait() when it gets implemented.
Approved by: re (blanket)
Diffstat (limited to 'sys/compat/linux/linux_socket.c')
0 files changed, 0 insertions, 0 deletions