summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/apic_vector.S
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>1999-04-10 19:19:02 +0000
committertegge <tegge@FreeBSD.org>1999-04-10 19:19:02 +0000
commit0601e1a0748571938c48c648f3dfd6a1d88fb71d (patch)
tree69f5285c9b1f5c53f6460403abcfc9c9f0ea7938 /sys/amd64/amd64/apic_vector.S
parenteaa27b537c5d047de6f6a009a76007a1c5b93c25 (diff)
downloadFreeBSD-src-0601e1a0748571938c48c648f3dfd6a1d88fb71d.zip
FreeBSD-src-0601e1a0748571938c48c648f3dfd6a1d88fb71d.tar.gz
Test CF after a btrl operation instead of testing ZF (which is undefined).
Diffstat (limited to 'sys/amd64/amd64/apic_vector.S')
-rw-r--r--sys/amd64/amd64/apic_vector.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/apic_vector.S b/sys/amd64/amd64/apic_vector.S
index 17f8942..10c412f 100644
--- a/sys/amd64/amd64/apic_vector.S
+++ b/sys/amd64/amd64/apic_vector.S
@@ -1,6 +1,6 @@
/*
* from: vector.s, 386BSD 0.1 unknown origin
- * $Id: apic_vector.s,v 1.33 1998/09/04 23:03:04 luoqi Exp $
+ * $Id: apic_vector.s,v 1.34 1998/09/06 22:41:41 tegge Exp $
*/
@@ -682,7 +682,7 @@ _Xcpuast:
btrl %eax, _checkstate_pending_ast
lock
btrl %eax, CNAME(resched_cpus)
- jz 2f
+ jnc 2f
movl $1, CNAME(want_resched)
lock
incl CNAME(want_resched_cnt)
OpenPOWER on IntegriCloud