Test CF after a btrl operation instead of testing ZF (which is undefined).

This commit is contained in:
tegge 1999-04-10 19:19:02 +00:00
parent fc43e979f4
commit 0724e18cc8
3 changed files with 6 additions and 6 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)