Files
linux/arch/powerpc/include/asm
Andreas Schwab c43386c06d powerpc: Fix wrong divisor in usecs_to_cputime
commit 9f5072d4f6 upstream.

Commit d57af9b (taskstats: use real microsecond granularity for CPU times)
renamed msecs_to_cputime to usecs_to_cputime, but failed to update all
numbers on the way.  This causes nonsensical cpu idle/iowait values to be
displayed in /proc/stat (the only user of usecs_to_cputime so far).

This also renames __cputime_msec_factor to __cputime_usec_factor, adapting
its value and using it directly in cputime_to_usecs instead of doing two
multiplications.

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Acked-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-08-09 08:27:34 -07:00
..
2010-08-04 10:26:03 +10:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2009-12-10 20:08:15 -06:00
2010-10-26 16:52:08 -07:00
2011-03-02 16:50:24 +11:00
2008-08-18 21:40:03 +02:00
2011-05-19 14:30:43 +10:00
2011-05-19 15:32:01 +10:00
2010-08-14 22:26:51 +02:00
2011-03-31 11:26:23 -03:00
2011-05-22 08:47:53 -04:00
2010-05-17 12:18:23 +03:00
2010-05-17 12:18:21 +03:00
2011-05-22 08:47:53 -04:00
2011-05-22 08:47:53 -04:00
2011-05-22 08:47:53 -04:00
2011-05-22 08:47:53 -04:00
2010-06-09 11:12:36 +02:00
2010-05-05 09:11:10 -04:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-03-05 03:04:08 -06:00
2010-10-26 16:52:08 -07:00
2011-03-02 16:50:24 +11:00
2011-03-31 11:26:23 -03:00
2009-04-07 15:18:58 +10:00
2009-12-09 17:10:37 +11:00
2011-05-19 00:36:43 -05:00
2010-03-05 03:04:08 -06:00
2011-04-20 17:01:19 +10:00
2011-05-26 13:38:58 +10:00
2010-06-28 12:41:33 -07:00
2011-03-31 11:26:23 -03:00
2008-09-06 19:30:15 +01:00
2009-08-28 14:24:10 +10:00
2011-05-28 10:48:39 -07:00
2011-03-23 19:47:18 -07:00
2011-05-28 10:48:39 -07:00
2011-03-31 11:26:23 -03:00
2011-05-06 13:32:35 +10:00