delayacct: Remove braindamaged type conversions
authorThomas Gleixner <tglx@linutronix.de>
Wed, 16 Jul 2014 21:04:37 +0000 (21:04 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Wed, 23 Jul 2014 17:18:06 +0000 (10:18 -0700)
commit68f6783d28316affcd2ce332d949e40e4c7416bd
treeb6e9e2b8aeaca7acbc425ae286a599d21882eeb2
parent9667a23db0dc0bd4892f0ada7e4e71528eaeed62
delayacct: Remove braindamaged type conversions

Converting cputime to timespec and timespec to nanoseconds makes no
sense. Use cputime_to_ns() and be done with it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
kernel/delayacct.c