uid_cputime: fix cputime overflow
authorJin Qian <jinqian@google.com>
Tue, 14 Jul 2015 01:16:55 +0000 (18:16 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:53:53 +0000 (13:53 -0800)
commitdbd9fc75c47a29446ac61c87672d6e11555a5a58
tree965688d0c56314339b76582399a276bd374f5a2b
parent2244d3438eb6d1263697849050eea08a7f3ee027
uid_cputime: fix cputime overflow

Converting cputime_t to usec caused overflow when the value is greater
than 1 hour. Use msec and convert to unsigned long long to support bigger
range.

Bug: 22461683

Change-Id: I853fe3e8e7dbf0d3e2cc5c6f9688a5a6e1f1fb3e
Signed-off-by: Jin Qian <jinqian@google.com>
drivers/misc/uid_cputime.c