summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_smp.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-04-06 08:26:08 +0000
committerphk <phk@FreeBSD.org>1998-04-06 08:26:08 +0000
commit3c122bd9611fd22e7945d11368d5f5d49bd18cc7 (patch)
tree0d404a1ac09cb98187985a0f565c3ace6f82a716 /sys/kern/subr_smp.c
parent011360bdd9e71d0d85a514b636892eaef04c6464 (diff)
downloadFreeBSD-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/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 6657ae48..d658002 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);
OpenPOWER on IntegriCloud