forked from Minki/linux
proc: use "unsigned int" for sigqueue length
It's defined as atomic_t and really long signal queues are unheard of. Link: http://lkml.kernel.org/r/20180423215119.GF9043@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
a4ef389565
commit
197850a1e0
@ -268,7 +268,7 @@ static inline void task_sig(struct seq_file *m, struct task_struct *p)
|
|||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
sigset_t pending, shpending, blocked, ignored, caught;
|
sigset_t pending, shpending, blocked, ignored, caught;
|
||||||
int num_threads = 0;
|
int num_threads = 0;
|
||||||
unsigned long qsize = 0;
|
unsigned int qsize = 0;
|
||||||
unsigned long qlim = 0;
|
unsigned long qlim = 0;
|
||||||
|
|
||||||
sigemptyset(&pending);
|
sigemptyset(&pending);
|
||||||
|
Loading…
Reference in New Issue
Block a user