]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Fix idle time field in /proc/uptime
authorMichael Abbott <michael.abbott@diamond.ac.uk>
Thu, 24 Sep 2009 08:15:19 +0000 (10:15 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Oct 2009 16:33:01 +0000 (09:33 -0700)
commit03429ffaea91375d8ed80a60fa13c9ffe694539a
tree72dd15a75459dce69f4684a2ece8dd10c545650e
parent38a76cc6f6101a0cc42c2e58783107ec646efabe
Fix idle time field in /proc/uptime

commit 96830a57de1197519b62af6a4c9ceea556c18c3d upstream.

Git commit 79741dd changes idle cputime accounting, but unfortunately
the /proc/uptime file hasn't caught up.  Here the idle time calculation
from /proc/stat is copied over.

Signed-off-by: Michael Abbott <michael.abbott@diamond.ac.uk>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/proc/uptime.c