diff options
author | Alexey Dobriyan | 2018-06-07 17:10:13 -0700 |
---|---|---|
committer | Linus Torvalds | 2018-06-07 17:34:38 -0700 |
commit | 197850a1e04ab586953a4434a6c4c6575b7d2122 (patch) | |
tree | 5eca3d8dc660071aa4805ff5f6a64779c372afac /fs/proc | |
parent | a4ef3895655ce9dcda679dde160b1543104bbe55 (diff) |
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>
Diffstat (limited to 'fs/proc')
-rw-r--r-- | fs/proc/array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c index 004077f1a7bf..0ceb3b6b37e7 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c @@ -268,7 +268,7 @@ static inline void task_sig(struct seq_file *m, struct task_struct *p) unsigned long flags; sigset_t pending, shpending, blocked, ignored, caught; int num_threads = 0; - unsigned long qsize = 0; + unsigned int qsize = 0; unsigned long qlim = 0; sigemptyset(&pending); |