mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 08:02:56 +00:00
[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>
This commit is contained in:
parent
932aeafbe8
commit
19a4fcb531
2 changed files with 4 additions and 7 deletions
|
@ -25,7 +25,6 @@
|
|||
|
||||
struct sigqueue {
|
||||
struct list_head list;
|
||||
spinlock_t *lock;
|
||||
int flags;
|
||||
siginfo_t info;
|
||||
struct user_struct *user;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue