diff options
author | tegge <tegge@FreeBSD.org> | 1999-04-10 19:19:02 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 1999-04-10 19:19:02 +0000 |
commit | 0601e1a0748571938c48c648f3dfd6a1d88fb71d (patch) | |
tree | 69f5285c9b1f5c53f6460403abcfc9c9f0ea7938 /sys | |
parent | eaa27b537c5d047de6f6a009a76007a1c5b93c25 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/amd64/amd64/apic_vector.S | 4 | ||||
-rw-r--r-- | sys/i386/i386/apic_vector.s | 4 | ||||
-rw-r--r-- | sys/i386/isa/apic_vector.s | 4 |
3 files changed, 6 insertions, 6 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) diff --git a/sys/i386/i386/apic_vector.s b/sys/i386/i386/apic_vector.s index 17f8942..10c412f 100644 --- a/sys/i386/i386/apic_vector.s +++ b/sys/i386/i386/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) diff --git a/sys/i386/isa/apic_vector.s b/sys/i386/isa/apic_vector.s index 17f8942..10c412f 100644 --- a/sys/i386/isa/apic_vector.s +++ b/sys/i386/isa/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) |