procfs: use more apprioriate types when dumping /proc/N/stat
authorJan Engelhardt <[email protected]>
Thu, 31 May 2012 23:26:19 +0000 (16:26 -0700)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/proc/array.c