diff options
-rw-r--r-- | sys/kern/kern_clock.c | 6 | ||||
-rw-r--r-- | sys/kern/kern_tc.c | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c index 8688da2..bd54b41 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_clock.c 8.5 (Berkeley) 1/21/94 - * $Id: kern_clock.c,v 1.50 1998/01/10 14:55:02 phk Exp $ + * $Id: kern_clock.c,v 1.51 1998/01/11 00:44:27 phk Exp $ */ /* Portions of this software are covered by the following: */ @@ -629,9 +629,7 @@ hardclock(frame) CPU_CLOCKUPDATE(&time, &newtime); } - if (TAILQ_FIRST(&callwheel[ticks & callwheelmask]) == NULL) { - softticks++; - } else { + if (TAILQ_FIRST(&callwheel[ticks & callwheelmask]) != NULL) { setsoftclock(); } } diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c index 8688da2..bd54b41 100644 --- a/sys/kern/kern_tc.c +++ b/sys/kern/kern_tc.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_clock.c 8.5 (Berkeley) 1/21/94 - * $Id: kern_clock.c,v 1.50 1998/01/10 14:55:02 phk Exp $ + * $Id: kern_clock.c,v 1.51 1998/01/11 00:44:27 phk Exp $ */ /* Portions of this software are covered by the following: */ @@ -629,9 +629,7 @@ hardclock(frame) CPU_CLOCKUPDATE(&time, &newtime); } - if (TAILQ_FIRST(&callwheel[ticks & callwheelmask]) == NULL) { - softticks++; - } else { + if (TAILQ_FIRST(&callwheel[ticks & callwheelmask]) != NULL) { setsoftclock(); } } |