[PATCH] 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)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 24 Sep 2009 08:16:24 +0000 (10:16 +0200)
commit96830a57de1197519b62af6a4c9ceea556c18c3d
treefc92ae39a4d06e3fb2970e9fc5f6e7a46abf1df0
parent94a8d5caba74211ec76dac80fc6e2d5c391530df
[PATCH] Fix idle time field in /proc/uptime

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>
fs/proc/uptime.c