commit | f792685006274a850e6cc0ea9ade275ccdfc90bc | [log] [tgz] |
---|---|---|
author | Frederic Weisbecker <fweisbec@gmail.com> | Tue Mar 05 18:05:46 2013 +0100 |
committer | Frederic Weisbecker <fweisbec@gmail.com> | Wed Mar 13 18:03:27 2013 +0100 |
tree | 712b47504d4e62906e966abef11c2e051a028889 | |
parent | 660cc00f8c6f7a2e16c25918590b470e86de19ec [diff] |
math64: New div64_u64_rem helper Provide an extended version of div64_u64() that also returns the remainder of the division. We are going to need this to refine the cputime scaling code. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Stanislaw Gruszka <sgruszka@redhat.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Ingo Molnar <mingo@kernel.org> Cc: Andrew Morton <akpm@linux-foundation.org>