]> git.karo-electronics.de Git - karo-tx-linux.git/commit
procfs: use more apprioriate types when dumping /proc/N/stat
authorJan Engelhardt <jengelh@medozas.de>
Thu, 3 May 2012 05:44:41 +0000 (15:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:55 +0000 (15:46 +1000)
commitc42ebe6a3e1f7ad78e88f8b69a563f7ea11bbdf1
tree149d9eb3dcccd3c29e38bc1e62d282c87295f6c4
parentb3b9dcc988d91447955aa08c3bbca1468af154c7
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>
fs/proc/array.c