summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sig.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2003-02-17 09:55:10 +0000
committerjulian <julian@FreeBSD.org>2003-02-17 09:55:10 +0000
commitaf55753a063a04a847a53c2946cd5fbf413a1e0f (patch)
tree775429b184310789a1eb3bc1be8451f6faf1abf4 /sys/kern/kern_sig.c
parent653bc68f5387baeae2f13b7f346d29659904e188 (diff)
downloadFreeBSD-src-af55753a063a04a847a53c2946cd5fbf413a1e0f.zip
FreeBSD-src-af55753a063a04a847a53c2946cd5fbf413a1e0f.tar.gz
Move a bunch of flags from the KSE to the thread.
I was in two minds as to where to put them in the first case.. I should have listenned to the other mind. Submitted by: parts by davidxu@ Reviewed by: jeff@ mini@
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r--sys/kern/kern_sig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index 0f53b44..8aaf3d9 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -193,7 +193,7 @@ cursig(struct thread *td)
void
signotify(struct proc *p)
{
- struct kse *ke;
+ struct thread *td;
struct ksegrp *kg;
PROC_LOCK_ASSERT(p, MA_OWNED);
@@ -202,8 +202,8 @@ signotify(struct proc *p)
p->p_sflag |= PS_NEEDSIGCHK;
/* XXXKSE for now punish all KSEs */
FOREACH_KSEGRP_IN_PROC(p, kg) {
- FOREACH_KSE_IN_GROUP(kg, ke) {
- ke->ke_flags |= KEF_ASTPENDING;
+ FOREACH_THREAD_IN_GROUP(kg, td) {
+ td->td_flags |= TDF_ASTPENDING;
}
}
}
OpenPOWER on IntegriCloud