patch-2.1.128 linux/kernel/signal.c
Next file: linux/kernel/softirq.c
Previous file: linux/kernel/sched.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Thu Nov 12 09:58:32 1998
- Orig file:
v2.1.127/linux/kernel/signal.c
- Orig date:
Sun Nov 8 14:03:12 1998
diff -u --recursive --new-file v2.1.127/linux/kernel/signal.c linux/kernel/signal.c
@@ -8,14 +8,10 @@
#include <linux/module.h>
#include <linux/sched.h>
-#include <linux/kernel.h>
-#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/wait.h>
-#include <linux/ptrace.h>
#include <linux/unistd.h>
#include <linux/mm.h>
-#include <linux/smp.h>
#include <linux/smp_lock.h>
#include <linux/slab.h>
#include <linux/init.h>
@@ -333,10 +329,10 @@
if (nr_queued_signals < max_queued_signals) {
q = (struct signal_queue *)
kmem_cache_alloc(signal_queue_cachep, GFP_KERNEL);
- nr_queued_signals++;
}
if (q) {
+ nr_queued_signals++;
q->next = NULL;
*t->sigqueue_tail = q;
t->sigqueue_tail = &q->next;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov