summaryrefslogtreecommitdiff
path: root/kernel/context.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 18:16:28 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 18:16:28 -0800
commit923215ae27c66dc2d25cc93ce1f7d3ef821c80bc (patch)
tree8e0f3e6a424096be83ba1af0a5c7bd117a9c649f /kernel/context.c
parent02947070b658af5e0d8abdc7ad8486423a143553 (diff)
v2.4.4.3 -> v2.4.4.4
- Russell King: ARM updates - Al Viro: more init cleanups - Cort Dougan: more PPC updates - David Miller: cleanups, pci mmap updates - Neil Brown: raid resync by sector - Alan Cox: more merging with -ac - Johannes Erdfelt: USB updates - Kai Germaschewski: ISDN updates - Tobias Ringstrom: dmfe.c network driver update - Trond Myklebust: NFS client updates and cleanups
Diffstat (limited to 'kernel/context.c')
-rw-r--r--kernel/context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/context.c b/kernel/context.c
index 6bfaaca920da..9ae4b6010901 100644
--- a/kernel/context.c
+++ b/kernel/context.c
@@ -101,8 +101,10 @@ static int context_thread(void *dummy)
if (signal_pending(curtask)) {
while (waitpid(-1, (unsigned int *)0, __WALL|WNOHANG) > 0)
;
+ spin_lock_irq(&curtask->sigmask_lock);
flush_signals(curtask);
recalc_sigpending(curtask);
+ spin_unlock_irq(&curtask->sigmask_lock);
}
}
}