summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/apic_ipl.s
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>1999-07-03 06:33:48 +0000
committeralc <alc@FreeBSD.org>1999-07-03 06:33:48 +0000
commit29ea153b133f29de1f76c8f87cdb0aa6300f6813 (patch)
treef3a4cc0523e80c037532c075fb287d8c3ab46eb5 /sys/i386/isa/apic_ipl.s
parentb6270032c16f447c90a1390dfde49f9918a6e2bc (diff)
downloadFreeBSD-src-29ea153b133f29de1f76c8f87cdb0aa6300f6813.zip
FreeBSD-src-29ea153b133f29de1f76c8f87cdb0aa6300f6813.tar.gz
An SMP-specific change: Add the lock prefix to RMW operations
on ipending.
Diffstat (limited to 'sys/i386/isa/apic_ipl.s')
-rw-r--r--sys/i386/isa/apic_ipl.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/isa/apic_ipl.s b/sys/i386/isa/apic_ipl.s
index 51ba095..9ed8de0 100644
--- a/sys/i386/isa/apic_ipl.s
+++ b/sys/i386/isa/apic_ipl.s
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: apic_ipl.s,v 1.22 1998/09/06 22:41:41 tegge Exp $
+ * $Id: apic_ipl.s,v 1.23 1999/04/10 19:22:17 tegge Exp $
*/
@@ -116,6 +116,7 @@ splz_next:
ALIGN_TEXT
splz_unpend:
bsfl %ecx,%ecx
+ lock
btrl %ecx,_ipending
jnc splz_next
cmpl $NHWI,%ecx
OpenPOWER on IntegriCloud