summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-03-06 07:40:51 +0000
committerjhb <jhb@FreeBSD.org>2001-03-06 07:40:51 +0000
commit506989600da0a933abf8430260070bfa3d2315fd (patch)
tree1a06c473cdcfdbd70135a39fe1c3d414002da349 /sys/ia64
parentc3da764666d21062d343609eafca582eff0e8966 (diff)
downloadFreeBSD-src-506989600da0a933abf8430260070bfa3d2315fd.zip
FreeBSD-src-506989600da0a933abf8430260070bfa3d2315fd.tar.gz
Don't psignal() a process from forward_hardclock() but set the appropriate
pending flag in p_sflag instead.
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/mp_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ia64/ia64/mp_machdep.c b/sys/ia64/ia64/mp_machdep.c
index 8b8f1eb..ff1a377 100644
--- a/sys/ia64/ia64/mp_machdep.c
+++ b/sys/ia64/ia64/mp_machdep.c
@@ -395,12 +395,12 @@ forward_hardclock(int pscnt)
if (checkstate_cpustate[id] == CHECKSTATE_USER &&
timevalisset(&pstats->p_timer[ITIMER_VIRTUAL].it_value) &&
itimerdecr(&pstats->p_timer[ITIMER_VIRTUAL], tick) == 0) {
- psignal(p, SIGVTALRM);
+ p->p_sflag |= PS_ALRMPEND;
map |= (1 << id);
}
if (timevalisset(&pstats->p_timer[ITIMER_PROF].it_value) &&
itimerdecr(&pstats->p_timer[ITIMER_PROF], tick) == 0) {
- psignal(p, SIGPROF);
+ p->p_sflag |= PS_PROFPEND;
map |= (1 << id);
}
}
OpenPOWER on IntegriCloud