diff options
author | Oleg Nesterov <oleg@redhat.com> | 2010-05-26 21:43:22 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 16:12:47 (GMT) |
commit | 5089a9768041206c76fac299ccd82a528c24c254 (patch) | |
tree | 88c7951ab137bc04db3ca02ef8bfeef2536472e2 /security/keys | |
parent | 7e49827cc937a742ae02078b483e3eb78f791a2a (diff) | |
download | linux-fsl-qoriq-5089a9768041206c76fac299ccd82a528c24c254.tar.xz |
proc_sched_show_task(): use get_nr_threads()
Trivial, use get_nr_threads() helper to read signal->count which we are
going to change.
Like other callers, proc_sched_show_task() doesn't need the exactly
precise nr_threads.
David said:
: Note that get_nr_threads() isn't completely equivalent (it can return 0
: where proc_sched_show_task() will display a 1). But I don't think this
: should be a problem.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: David Howells <dhowells@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Acked-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/keys')
0 files changed, 0 insertions, 0 deletions