PERFORCE change 29330 for review
Marcel Moolenaar
marcel at FreeBSD.org
Sun Apr 20 22:14:01 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=29330
Change 29330 by marcel at marcel_nfs on 2003/04/20 22:13:14
Remove the debugging printf and invert the condition so that the
flow of control is slightly less weird.
Affected files ...
.. //depot/projects/ia64_epc/sys/ia64/ia64/trap.c#11 edit
Differences ...
==== //depot/projects/ia64_epc/sys/ia64/ia64/trap.c#11 (text+ko) ====
@@ -317,12 +317,10 @@
{
while (1) {
disable_intr();
- if (curthread->td_flags & (TDF_ASTPENDING|TDF_NEEDRESCHED)) {
- enable_intr();
- printf("XXX calling ast()\n");
- ast(tf);
- } else
+ if (!(curthread->td_flags & (TDF_ASTPENDING|TDF_NEEDRESCHED)))
break;
+ enable_intr();
+ ast(tf);
}
/* Keep interrupts disabled. */
}
More information about the p4-projects
mailing list