summaryrefslogtreecommitdiff
path: root/include/linux/signal.h
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2005-10-30 15:02:17 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-30 17:37:19 -0800
commit19a4fcb531659f2f7d18b5d04cee039176e9540d (patch)
tree30e0636d6163a5c0c3a4ad41c2d5f49cd858b457 /include/linux/signal.h
parent932aeafbe8521a9a9d790152d66020e0fef2029b (diff)
downloadkernel-common-19a4fcb531659f2f7d18b5d04cee039176e9540d.tar.gz
kernel-common-19a4fcb531659f2f7d18b5d04cee039176e9540d.tar.bz2
kernel-common-19a4fcb531659f2f7d18b5d04cee039176e9540d.zip
[PATCH] kill sigqueue->lock
This lock is used in sigqueue_free(), but it is always equal to current->sighand->siglock, so we don't need to keep it in the struct sigqueue. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/signal.h')
-rw-r--r--include/linux/signal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/signal.h b/include/linux/signal.h
index 7be18b5e2fb4..5dd5f02c5c5f 100644
--- a/include/linux/signal.h
+++ b/include/linux/signal.h
@@ -25,7 +25,6 @@
struct sigqueue {
struct list_head list;
- spinlock_t *lock;
int flags;
siginfo_t info;
struct user_struct *user;