diff options
author | phk <phk@FreeBSD.org> | 1998-04-06 08:26:08 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-04-06 08:26:08 +0000 |
commit | 3c122bd9611fd22e7945d11368d5f5d49bd18cc7 (patch) | |
tree | 0d404a1ac09cb98187985a0f565c3ace6f82a716 /sys/kern/kern_tc.c | |
parent | 011360bdd9e71d0d85a514b636892eaef04c6464 (diff) | |
download | FreeBSD-src-3c122bd9611fd22e7945d11368d5f5d49bd18cc7.zip FreeBSD-src-3c122bd9611fd22e7945d11368d5f5d49bd18cc7.tar.gz |
Make a kernel version of the timer* functions called timerval* to be
more consistent.
OK'ed by: bde
Diffstat (limited to 'sys/kern/kern_tc.c')
-rw-r--r-- | sys/kern/kern_tc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c index a22da2b..13195c3 100644 --- a/sys/kern/kern_tc.c +++ b/sys/kern/kern_tc.c @@ -39,7 +39,7 @@ static volatile int print_tci = 1; * SUCH DAMAGE. * * @(#)kern_clock.c 8.5 (Berkeley) 1/21/94 - * $Id: kern_clock.c,v 1.64 1998/04/04 18:46:09 phk Exp $ + * $Id: kern_clock.c,v 1.65 1998/04/05 11:49:34 phk Exp $ */ #include <sys/param.h> @@ -182,10 +182,10 @@ hardclock(frame) */ pstats = p->p_stats; if (CLKF_USERMODE(frame) && - timerisset(&pstats->p_timer[ITIMER_VIRTUAL].it_value) && + timevalisset(&pstats->p_timer[ITIMER_VIRTUAL].it_value) && itimerdecr(&pstats->p_timer[ITIMER_VIRTUAL], tick) == 0) psignal(p, SIGVTALRM); - if (timerisset(&pstats->p_timer[ITIMER_PROF].it_value) && + if (timevalisset(&pstats->p_timer[ITIMER_PROF].it_value) && itimerdecr(&pstats->p_timer[ITIMER_PROF], tick) == 0) psignal(p, SIGPROF); } |