diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-04-06 08:26:08 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-04-06 08:26:08 +0000 |
| commit | 4cf41af3d424a8ec0670f03b36e8b685127f5851 (patch) | |
| tree | 44f0e1d9df915ac35ba2bfbed1fc7c38c4364979 /sys/kern/subr_smp.c | |
| parent | e248ae96af2af0f65ed40014475b06919cc76451 (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_smp.c')
| -rw-r--r-- | sys/kern/subr_smp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c index 6657ae48dac8..d6580022d3e9 100644 --- a/sys/kern/subr_smp.c +++ b/sys/kern/subr_smp.c @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mp_machdep.c,v 1.70 1998/03/07 20:16:49 tegge Exp $ + * $Id: mp_machdep.c,v 1.71 1998/04/01 21:07:35 tegge Exp $ */ #include "opt_smp.h" @@ -2450,12 +2450,12 @@ forward_hardclock(int pscnt) if (p) { pstats = p->p_stats; if (checkstate_cpustate[id] == CHECKSTATE_USER && - 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); map |= (1 << id); } - 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); map |= (1 << id); |
