procfs: use more apprioriate types when dumping /proc/N/stat
authorJan Engelhardt <jengelh@medozas.de>
Thu, 31 May 2012 23:26:19 +0000 (16:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 1 Jun 2012 00:49:29 +0000 (17:49 -0700)
commit715be1fce0d964aca15618b24f6f415f3cbd03c8
tree6bac84d87b61252ce109c361755109a91af009cc
parentaf5e6171437c9d62d84459b24877c94c23782676
procfs: use more apprioriate types when dumping /proc/N/stat

- use int fpr priority and nice, since task_nice()/task_prio() return that

- field 24: get_mm_rss() returns unsigned long

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/array.c