Skip to content
Snippets Groups Projects
Commit c0084a06 authored by Thierry Strudel's avatar Thierry Strudel
Browse files

Revert "uid_cputime: fix overflow when printing cputime"

This reverts commit aeeff0aa.

Change-Id: I465e529ccb3d5efac688f2ecc23e15b8ea6d95ef
parent aeeff0aa
Branches
Tags
No related merge requests found
...@@ -119,7 +119,7 @@ static int uid_stat_show(struct seq_file *m, void *v) ...@@ -119,7 +119,7 @@ static int uid_stat_show(struct seq_file *m, void *v)
uid_entry->active_stime; uid_entry->active_stime;
unsigned long long total_power = uid_entry->power + unsigned long long total_power = uid_entry->power +
uid_entry->active_power; uid_entry->active_power;
seq_printf(m, "%d: %llu %llu %llu\n", uid_entry->uid, seq_printf(m, "%d: %u %u %llu\n", uid_entry->uid,
cputime_to_usecs(total_utime), cputime_to_usecs(total_utime),
cputime_to_usecs(total_stime), cputime_to_usecs(total_stime),
total_power); total_power);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment