]> Pileus Git - ~andy/linux/commit
cputime_nsecs: use math64.h for nsec resolution conversion helpers
authorKevin Hilman <khilman@linaro.org>
Wed, 20 Mar 2013 23:34:25 +0000 (16:34 -0700)
committerFrederic Weisbecker <fweisbec@gmail.com>
Fri, 26 Apr 2013 16:58:12 +0000 (18:58 +0200)
commit8c23b80ec7f1f5405f07bb56c2f8378800ecf401
tree0c2e562e5b7a5f3a1c0758e58b14cc02ffdbd5c1
parentc58b0df12a6b5c497637db0676effd00e1fbab13
cputime_nsecs: use math64.h for nsec resolution conversion helpers

For the nsec resolution conversions to be useable on non 64-bit
architectures, the helpers in <linux/math64.h> need to be used so the
right arch-specific 64-bit math helpers can be used (e.g. do_div())

Signed-off-by: Kevin Hilman <khilman@linaro.org>
Cc: Christoph Lameter <cl@linux.com>
Cc: Hakan Akkan <hakanakkan@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Kevin Hilman <khilman@linaro.org>
Cc: Li Zhong <zhong@linux.vnet.ibm.com>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
include/asm-generic/cputime_nsecs.h