summaryrefslogtreecommitdiff
path: root/sys/kern/subr_smp.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1998-04-06 08:26:08 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1998-04-06 08:26:08 +0000
commit4cf41af3d424a8ec0670f03b36e8b685127f5851 (patch)
tree44f0e1d9df915ac35ba2bfbed1fc7c38c4364979 /sys/kern/subr_smp.c
parente248ae96af2af0f65ed40014475b06919cc76451 (diff)
Notes
Diffstat (limited to 'sys/kern/subr_smp.c')
-rw-r--r--sys/kern/subr_smp.c6
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);