summaryrefslogtreecommitdiff
path: root/sys/kern/kern_clock.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-08-10 22:53:32 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-08-10 22:53:32 +0000
commit688ebe120c47c9478446c12022b5e4667c2bff7a (patch)
tree1798843f61bbf42ad4e659497c23572b272969ca /sys/kern/kern_clock.c
parent827dcaf663a0a66fd738e030d6c5ecd435a35380 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r--sys/kern/kern_clock.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index 87f9515e7387..f48b2122de74 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -172,15 +172,11 @@ hardclock_process(p, user)
pstats = p->p_stats;
if (user &&
timevalisset(&pstats->p_timer[ITIMER_VIRTUAL].it_value) &&
- itimerdecr(&pstats->p_timer[ITIMER_VIRTUAL], tick) == 0) {
- p->p_sflag |= PS_ALRMPEND;
- aston(p);
- }
+ itimerdecr(&pstats->p_timer[ITIMER_VIRTUAL], tick) == 0)
+ p->p_sflag |= PS_ALRMPEND | PS_ASTPENDING;
if (timevalisset(&pstats->p_timer[ITIMER_PROF].it_value) &&
- itimerdecr(&pstats->p_timer[ITIMER_PROF], tick) == 0) {
- p->p_sflag |= PS_PROFPEND;
- aston(p);
- }
+ itimerdecr(&pstats->p_timer[ITIMER_PROF], tick) == 0)
+ p->p_sflag |= PS_PROFPEND | PS_ASTPENDING;
}
/*